company logo

BackupDB - Backup Database

Before running BackupDB(), make sure that the data base is available. BackupDB() should be called exclusively, i.e. the database to be restored must not be in use.

The utility works for local or client/server databases. In any case, the utility does not check, whether the file to be backed up is in use or not. In order to guaranty save backups for object or replication server applications, the server command DBBackup should be used.

BackupDB db_path [target] [-q] [-h] [-p:type]

Definition: 

db_path - symbolic name or file path referring to a database file.

target - symbolic name or file  path for backup file. Default is db_path with extension.ozi.

-q -  do not write messages to system output

-h -  show help information

-p - define progress display type (automatic, dots, time, percent), e.g. -p:percent