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.
The steps are the same as those in the following topic:
See Recovering the entire catalog using the Catalog Recovery Wizard on Windows
To recover the entire catalog using bprecover -wizard
-
Start NetBackup by entering the following:
If your configuration includes an Enterprise Media Manager (EMM) server that is separate from the master server, first start NetBackup on the EMM server. Then start NetBackup on the master server.
/usr/openv/netbackup/bin/bp.start_all
install_path\NetBackup\bin\bpup
-
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. -
bprecover -wizard
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)
-
Enter Y to continue. The following prompt appears:
Please specify the full pathname to the catalog disaster recovery file:
-
Enter the fully qualified pathname to the Backup ID file. For example:
C:\DR_INFO\HotCatBack_1120078077_FULL
All media resources were located Do you want to recover the entire NetBackup catalog? (Y/N)
-
Enter Y to continue. The following is displayed:
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.
The image file is restored to the proper image directory and the NetBackup relational databases (NBDB and optionally BMRDB) are restored and recovered.
-
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.
-
/usr/openv/netbackup/bin/bp.kill_all /usr/openv/netbackup/bin/bp.start_all
install_path\NetBackup\bin\bpdown install_path\NetBackup\bin\bpup
If a remote EMM server is used, start NetBackup on it before you start NetBackup on the master server.
|
|
Related Articles
Legacy ID
v15108101_v46435090
Article URL http://www.symantec.com/docs/HOWTO34050
Terms of use for this information are found in Legal Notices









Thank you.