nbackup1
Physical backup manager for firebird
Usage
nbackup[option...] -l|-u|-f database
nbackup[option...] -b level database file
nbackup[option...] -r database file0 [file1...]
Overview
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
-
-l database
-
-lock database -
Locks database for filesystem copy.
Options of the
-lockcommand:-
-s
-
-size -
Print database size (in database pages) after locking.
-
-
-un database
-
-unlock database -
Unlocks previously locked database.
-
-f database
-
-fixup database -
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:-
-d on|off
-
-direct on|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:-
-de command
-
-decompress command -
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. -
Options
-
-u user
-
-user user -
User name for connecting to the firebird server.
-
-p password
-
-password password -
Password for connecting to the firebird server.
-
-fetch_password file -
Read password from specified file.
-
-nod
-
-nodbtriggers -
Do not run database-level triggers.
Releases
8 releases since Debian 5.0 (Lenny); the text changed 7 times.
-d since Debian 10 (Buster);
-de since Debian 10 (Buster);
-decompress since Debian 10 (Buster);
-direct since Debian 10 (Buster);
-f since Debian 10 (Buster);
-fetch_password since Debian 10 (Buster);
-fixup since Debian 10 (Buster);
-l since Debian 10 (Buster);
-lock since Debian 10 (Buster);
-nod since Debian 10 (Buster);
-nodbtriggers since Debian 10 (Buster);
-p since Debian 10 (Buster);
-password since Debian 10 (Buster);
-s since Debian 10 (Buster);
-size since Debian 10 (Buster);
-u since Debian 10 (Buster);
-un since Debian 10 (Buster);
-unlock since Debian 10 (Buster);
-user since Debian 10 (Buster).
-F until Debian 9 (Stretch);
-L until Debian 9 (Stretch);
-P until Debian 9 (Stretch);
-U until Debian 9 (Stretch).