Recovering the entire NetBackup 7.0 or 7.1 catalog using bprecover -wizard on Windows
|Article:HOWTO34050|||||Created: 2010-10-29|||||Updated: 2012-05-01|||||Article URL http://www.symantec.com/docs/HOWTO34050|
The bprecover -wizard command is an alternate way to recover an entire catalog that is backed up using the online catalog backup method. This method does not require the NetBackup Administration Console. You must have root (administrative) privileges to perform this procedure.
To recover the entire catalog using bprecover -wizard
If the catalog backup resides on a specific disk type, you may have to fix media references in the disaster recovery file.
See About catalog recovery from disk devices in NetBackup 7.0 and 7.1.
To fix the disk media IDs in the disaster recovery file, run the following command:
nbcatsync -sync_dr_file DR_File
Replace DR_File with the full pathname to the disaster recovery file.
Welcome to the NetBackup Catalog Recovery Wizard! Please make sure the devices and media that contain catalog disaster recovery data are available Are you ready to continue?(Y/N)
Please specify the full pathname to the catalog disaster recovery file:
All media resources were located Do you want to recover the entire NetBackup catalog? (Y/N)
Catalog recovery is in progress. Please wait... Database server restarted, and completed successful recovery of NBDB on <EMM Server> Catalog recovery has completed. Please review the log file C:\Program Files\VERITAS\NetBackup\Logs \user_ops\Administrator\logs\Recover1120078220.log for more information.
If you fixed the disk media IDs in the DR file in step 2, you must fix the disk media ID references in the image headers. The image headers were recovered from the catalog backup.
To fix the disk media IDs in the image headers, run the following command:
nbcatsync -backupid image_id -dryrun
Replace image_id with the ID of the catalog backup. You can find the image ID of the catalog backup by examining the DR file.
NetBackup does not run scheduled backup jobs until NetBackup is stopped and restarted. Before restarting NetBackup, protect the media that contains the backups that were successfully performed after the catalog backup that was used to recover the catalog.
Article URL http://www.symantec.com/docs/HOWTO34050