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
Article Type
How To


Environment

Subject


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.

Note:

You must be logged on locally to the master server that being recovered.

Note:

During the catalog recovery process, services may be shut down and restarted. If NetBackup is configured as a highly available application (cluster or global cluster), freeze the cluster before starting the recovery process to prevent a failover. Then unfreeze the cluster after the recovery process is complete.

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

  1. 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.

    On UNIX and Linux:

    /usr/openv/netbackup/bin/bp.start_all

    On Windows:

    install_path\NetBackup\bin\bpup
    
  2. 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.

  3. Run the following command:

    bprecover -wizard

    The following is displayed:

    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)
  4. Enter Y to continue. The following prompt appears:

    Please specify the full pathname to the catalog disaster 
    recovery file:
  5. Enter the fully qualified pathname to the Backup ID file. For example:

    C:\DR_INFO\HotCatBack_1120078077_FULL

    The following is displayed:

    All media resources were located
    Do you want to recover the entire NetBackup catalog? (Y/N)
  6. 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.

  7. 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.

  8. 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.

    This procedure can include the following tasks:

    • Importing the backups from the backup media into the catalog

    • Write protecting the media

    • Ejecting the media and setting it aside

    • Freezing the media

  9. Stop and restart NetBackup.

    On UNIX and Linux:

    /usr/openv/netbackup/bin/bp.kill_all
    /usr/openv/netbackup/bin/bp.start_all

    On Windows:

    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.



Legacy ID



v15108101_v46435090


Article URL http://www.symantec.com/docs/HOWTO34050


Terms of use for this information are found in Legal Notices