nbackup (1) Linux Manual Page
NAME
nbackup – Physical backup manager for Firebird
SYNOPSIS
nbackup[option…] -l|-u|-f databasenbackup[option…] -b level database filenbackup[option…] -r database file0 [file1…]
DESCRIPTION
nbackup allows making incremental backups of firebird databases. It also allows database files to be locked for copying with OS tools like cp(1).
COMMANDS
-ldatabase-lockdatabase- Locks database for filesystem copy.
Options of the
-lockcommand:-
-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.
-blevel database file-backuplevel database file- 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
-backupcommand:-
-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.
-rdatabase file0 [file1…]-restoredatabase file0 [file1…]- Restore incremental backup. file0 is the level 0 backup, file1 is the level 1 backup and so on.
Additional
-restoreoptions:-
-decommand-decompresscommand- Decompress backup file contents using the given command.
-
Note:-restoreshould be the last argument tonbackupfollowed only by database and file names. All other options must precede-restoreor will be interpreted as backup file names.
COMMON OPTIONS
-uuser-useruser- User name for connecting to the firebird server.
-ppassword-passwordpassword- Password for connecting to the firebird server.
-fetch_passwordfile- Read password from specified file.
-nod-nodbtriggers- Do not run database-level triggers.
SEE ALSO
gbak(1)
Additional documentation about nbackup and other Firebird utilities can be found on the Firebird Project website, <http://www.firebirdsql.org>.
AUTHOR
Original idea is of Sean Leyne sean [at] broadviewsoftware.com. Designed and implemented by Nickolay Samofatov skidder [at] bssys.com. This work was funded through a grant from BroadView Software, Inc.
This manual page was written by Damyan Ivanov dmn [at] debian.org for the Debian project. Permission is granted to use this document, with or without modifications, provided that this notice is retained. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.
