Restores a backup copy of the Backup Database
Synopsis
bak restoredb [-tcid tc_number] [-help]
Alias
bak dbrestore
Options
-tcid tc_number
Specifies the TCID of the Tape Coordinator for the tape drive from which the Backup Database is to be restored. If omitted, it defaults to 0
(zero).
-help
Prints the online help for this command. All other valid options specified with this option are ignored.
Description
The bak restoredb command restores a backup copy of the entire Backup Database. If the Backup Database becomes damaged, you should delete the old database;
then use this command to restore an entirely new version from its backup tape (which must be named bak_db_dump.1). The Backup Database is damaged if the disk housing the database becomes
damaged or the bak verifydb command fails.
Do not attempt to recover information from a corrupted database. Instead, stop all bakserver processes and remove the old Backup Database from each machine on which it is located.
After the database is removed, restart all bakserver processes on the machines on which they were running. Use the bak addhost command to add a tape host for the Tape Coordinator from which you plan to restore the Backup Database. Then use the bak restoredb command to restore the new version of the database; the -tcid option specifies the TCID of the Tape Coordinator from which to restore the Backup Database (the Tape Coordinator just added with the bak addhost command).
Use the bak savedb command to save the Backup Database to tape.
Privilege Required
The issuer must be listed in the admin.bak files on all Backup Database machines.
Related Information
Commands: bak savedb(8dfs)