Veritas NetBackup™ Commands Reference Guide
- Appendix A. NetBackup Commands
nbdb_restore — recover the database that is backed up to a directory using nbdb_backup
-recover source_directory [-dbn database_name] [-ignore_tlog]
-recover -staging [-dbn database_name]
On UNIX systems, the directory path to this command is /usr/openv/db/bin/
On Windows systems, the directory path to this command is <install_path>\NetBackup\bin\
The nbdb_restore command does a restore and recovery from a backup to a directory using nbdb_backup. The recommended method to protect the SQL Anywhere NBDB and BMRDB databases is through the Catalog Backup interfaces.
nbdb_restore restores from the staging directory to recover only the NBDB. The default is to apply the current online transaction log. By default, the current online transaction log is applied to make the database as consistent as possible with the current db/images directory.
- -dbn database_name
Specifies the database name of the NBDB to be recovered.
Does not apply the current online transaction log to the NBDB recovery operation.
- -recover source_directory
The location of the backup.
Restores the NBDB from the staging directory.
Example 1 - Restore and recover NBDB from the copy in the default staging directory.
# nbdb_restore -dbn NBDB -ignore_tlog -recover -staging