The bprecover command initiates the NetBackup utility for restoring the NetBackup catalogs. It recovers the catalogs that were backed up by using the procedures that are described in the NetBackup Administrator's Guide. Use bprecover only if catalogs were destroyed on disk.
bprecover has three modes:
-wizard lets you recover the entire NetBackup catalog or the catalog image and configuration files by using a recovery wizard.
NBDB recovery (-r -nbdb) lets you recover the NetBackup relational database and the BMR database, if BMR is configured.
Symantec Product Authentication and Authorization Service recovery (-r -vxss) lets you recover the data associated with this service.
Specifies the number of the copy of the catalog backup image to be used for the recovery operation. This option restores from a non-primary copy of the catalog backup image.
Used with -vxss to list the header information for the VxSS backup.
Reports the results of the recovery in the specified output file.
Used with the -r option during catalog recovery procedures to recover and resynchronize the NetBackup relational databases (NBDBs) and the BMR database (BMRDB), if BMR is configured.
For complete catalog recovery procedures, see the Disaster Recovery chapter of the NetBackup Troubleshooting Guide.
Used with -nbdb to recover the relational databases or with -vxss to recover the VxSS backup.
Recovers the images from the specified policy name. Three modes of recovery are available with -r:
When -vxss is used with the -p policy_name option, you can recover the Symantec Product Authentication and Authorization Service data. The image is recovered from the following location:
Windows systems: install_path\NetBackup\db\NBU_VSSDB_IMAGE\policy_name
Enables a user to perform the same functions from a command line that are present on the recovery wizard. For example, a user can specify the full pathname to the catalog disaster recovery file or recover the entire NetBackup catalog. The wizard prompts you for the catalog disaster recovery file.
This example recovers the entire NetBackup catalog or the catalog image and configuration files. On Windows, a series of screens takes you through the recovery process. On UNIX or Linux, a series of prompts takes you through the recovery process.
# bprecover -wizard
The Disaster Recovery chapter of the Troubleshooting Guide describes each step of the recovery process.
This example recovers the
NetBackup relational databases and reports the results of the
recovery in the recovery.rpt
file.
# bprecover -r -nbdb -L recovery.rpt
The Disaster Recovery chapter of the Troubleshooting Guide describes each step of the recovery process.
If any errors occur
during the recover operation, NetBackup writes error messages to
one of the following: stderr
(UNIX
and Linux systems) or the MS-DOS command window when you run the
bprecover command (Windows
systems).
Also, debug logs are accumulated in the following directory path: