-ldatabase-lockdatabase
Locks database for filesystem copy.
Options of the -lock command:
-s-size
Print database size (in database pages) after locking.
-undatabase-unlockdatabase
Unlocks previously locked database.
-fdatabase-fixupdatabase
Fixup database after filesystem copy. This needs to be done on the target database before usage.
-bleveldatabasefile-backupleveldatabasefile
Create incremental backup of level level. Level 0 means full backup. Level N includes all the changes
since the last backup of level N. file may be "stdout" meaning to write the backup data to the
standard output.
Additional options to the -backup command:
-don|off-directon|off
Turns on or off direct I/O during database backup.
Direct I/O may be useful when database is much larger that RAM, because in that case using
buffered I/O may cause replacing useful cache contents with database file contents, which are
generally read only once.
-rdatabasefile0 [file1...]
-restoredatabasefile0 [file1...]
Restore incremental backup. file0 is the level 0 backup, file1 is the level 1 backup and so on.
Additional -restore options:
-decommand-decompresscommand
Decompress backup file contents using the given command.
Note:-restore should be the last argument to nbackup followed only by database and file names. All
other options must precede -restore or will be interpreted as backup file names.