company logo

RestoreDB - Restore Database

RestoreDB() supports restoring an ODABA specific database backup, which has been created calling BackupDB(). RestoreDB() has to 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 restored is in use or not. In order to guaranty save restore for object or replication server applications, the server command DBRestore should be used.

RestoreDB db_path [source] [-q] [-h] [-p:type]

Definition: 

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

source - symbolic name or file  path for backup file to be restored. Default is database file name 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