Recovering the NetBackup 7.0 or 7.1 catalog image file using bprecover -wizard on UNIX/Linux

Article:HOWTO32927  |  Created: 2010-10-28  |  Updated: 2012-05-01  |  Article URL http://www.symantec.com/docs/HOWTO32927
Article Type
How To


Environment

Subject


You must have root (administrative) privileges to perform this procedure.

See About recovering the catalog image file on UNIX/Linux

See Recovering the catalog image files using the Catalog Recovery Wizard on UNIX/Linux

To recover the catalog image file using bprecover -wizard

  1. Start NetBackup by entering the following:

    If your configuration includes an EMM server separate from the master server, start NetBackup on the EMM server before starting 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 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 N to continue. The following is displayed:

    Catalog recovery is in progress. Please wait...
    This portion of the catalog recovery has completed.

    Because this operation is a partial recovery, any remaining portions of the catalog must be restored using Backup, Archive, and Restore.

    Please review the following log file for more information

    C:\Program Files\VERITAS\NetBackup\Logs\user_ops\ 
    Administrator\logs\Recover1123008613.log
    
  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. You can now recover the NetBackup database if necessary.

  9. 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 media protection may 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

  10. Stop and restart NetBackup on all the servers.

    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



v15108283_v46435089


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


Terms of use for this information are found in Legal Notices