company logo

DBBackup - Create database backup

The DBBackup server command works similar as the BackupDB utility, but in client/server mode. It allows creating a backup file from a server database.

In contrast to the BackupDB utility, the DBBackup server command does not require an option file. Instead, the administrator must know the exact server location of the database, which is passed as parameter to the command.

When running backup, update clients accessing the database to be backed up are paused, i.e. all updating transactions are queued until backup has finished. The following is a short summary of DBBackup parameters and options. More details are described in BackupDB in Database Utilities.

DBBackup server port db_path [location] [wait]

Definition: 

server - server url or IP address

port - port number for the server passed when starting the server

db_path - The database path defines a file catalog name or the database location on the server, in which case the path must be a valid server path.

location - The location is the server path where the backup file will be stored. The location must be a valid path on the server and accessible with server rights.

wait - This is a timeout value in seconds for closing committing transactions. When there are (long) transactions not able to commit in the defined timeout interval, backup terminates with an error. Usually, the transaction timeout can be limited to a few seconds, because the timeout applies to committing transactions, only. New commits will be blocked until the backup has finished.