How to recover the NetBackup catalog from a non-primary copy of the catalog backup

Article: 100000915
Last Published: 2020-03-31
Ratings: 2 0
Product(s): NetBackup & Alta Data Protection

Description

How to recover the NetBackup catalog from a non-primary copy of the catalog backup. How to restore backup.

Like all backups the online, hot catalog backup can have multiple copies and recovery is done from the first or original copy, known as the primary copy, by default. It is possible to create multiple copies of the catalog backup either by specifying multiple copies when the backup is originally done or by duplicating the catalog backup later.

Recovering the catalog from a copy other than the primary copy can only be done from the command line using the command:

bprecover -wizard -copy N

Where N is the number of the copy you wish to recover from.

The directory path to this command is...
UNIX/Linux: /usr/openv/netbackup/bin/admincmd/
Windows: <install_path>\NetBackup\bin\admincmd\

Note: The -copy flag is available for use from NetBackup 6.5.6, NetBackup 7.x, and later versions till 8.x./8.x.x.  If the -copy flag is used with the -wizard flag on a 'bprecover' command line in versions of NetBackup prior to 6.5.6, no error is reported - the -copy flag is ignored by NetBackup, and the catalog will be recovered from the primary copy.

Recovering from tape
For catalog backup copies stored on tape media (including VTL) recovery simply involves issuing the 'bprecover -wizard -copy N' command.

Recovering from BasicDisk
If the copy of the catalog backup has been made to BasicDisk storage make sure that the disk containing the backup is mounted against the correct mount path (as displayed in the disaster recovery file) before running the ‘bprecover -wizard -copy N’ command.

Recovering from other disk types
If the copy of the catalog backup has been made to a disk type other than BasicDisk you must complete the following steps before running the bprecover command:

  1. Create the disk storage server for the storage using the disk storage server wizard on the master server you are recovering to.
  2. Create the disk pool for the storage using the disk pool wizard.
  3. Run the command ‘nbcatsync -sync_dr_file <disaster recovery file>’ to synchronize the disaster recovery file to the new disk pool.

Once these steps are completed run the ‘bprecover -wizard -copy N’ command.

Was this content helpful?