Subject | Re: [firebird-support] Re: Nbackup, Default I/O ON or OFF |
---|---|
Author | Dmitry Kuzmenko |
Post date | 2013-12-21T09:16:48Z |
Hello, Dmitry!
Saturday, December 21, 2013, 8:27:26 AM, you wrote:
DY> cannot affect delta at all.
oops, yes, I was wrong, missed between nbk and delta. Of course
-d option related to resulting nbk file.
DY> You should be looking at nbackup.cpp (the utility, not the engine) and
DY> see that it affects how the database file is being read by nbackup after
DY> it has been locked.
Wish I knew where that sources are. I see only nbackup.cpp in JRD, not
in utilities/nbackup. Be patient, I'm bad with C/C++.
here is Delta inherits FW settings, not nbk, because for nbk FW is
useless, as I understand.
Nice. That usually frightens me.
--
Dmitry Kuzmenko, www.ib-aid.com
Saturday, December 21, 2013, 8:27:26 AM, you wrote:
>> Also, as I see in nbak.cpp, -d option affects only diff file (delta),DY> Wrong. The -D switch has nothing to do with the BackupManager, so it
>> not database file. You can check functions
>> BackupManager::openDelta
>> BackupManager::setForcedWrites
DY> cannot affect delta at all.
oops, yes, I was wrong, missed between nbk and delta. Of course
-d option related to resulting nbk file.
DY> You should be looking at nbackup.cpp (the utility, not the engine) and
DY> see that it affects how the database file is being read by nbackup after
DY> it has been locked.
Wish I knew where that sources are. I see only nbackup.cpp in JRD, not
in utilities/nbackup. Be patient, I'm bad with C/C++.
>> And, it inherits Forced Writes state from the database for delta.DY> True, but it's about ForcedWrites, not the -D switch.
>> If it's ON for database, it will be ON for delta (wich is seems
>> logical).
here is Delta inherits FW settings, not nbk, because for nbk FW is
useless, as I understand.
>> What I coudn't find (sorry, I don't understand C++ and not so friendlyDY> The default is ON on Windows and OFF on POSIX.
>> with Firebird sources) is defaults for -d option.
Nice. That usually frightens me.
--
Dmitry Kuzmenko, www.ib-aid.com