How to recover NetBackup Catalog from an MSDP pool

Article: 100049485
Last Published: 2023-10-10
Ratings: 0 1
Product(s): NetBackup & Alta Data Protection

Problem

How to recover the primary/master server catalog if the catalog backup images are stored on an MSDP pool which is hosted by a separate media server.

Solution

On Primary/Master Server

1. Configure the target Storage Server:

The storage server attributes must match those of the original storage server as documented in the Catalog backup's disaster recovery file. To determine these attributes, open the DR file and examine the fragment records as shown in the following example.

Example:

# FRAG: c# f# K rem mt den fn id/path host bs off md dwo f_flags f_unused1 exp mpx rl chkpt rsm_nbr seq_no media_subtype keep_date copy_date i_unused1
FRAGMENT 1 -1 38 970 0 39 0 @aaaa8 dorna 262144 0 0 -1 0 1;PureDisk;dorna;DiskPool1;dv02;0 0 0 0 0 0 0 6 0 0 0
FRAGMENT 1 1 2912 0 0 0 0 @aaaa8 dorna 262144 0 0 -1 0 1;PureDisk;dorna;DiskPool1;dv02;01226440313 0 65537 0 0 0 6 0 225230725 0

The important attributes are held in the media descriptor record which is shown in bold above. PureDisk is the Storage Server type, dorna is the Storage Server Name (in this case also the primary/master and media server), DiskPool1 is the Disk Pool and dv02 is the Disk Volume. These values are used in the example commands shown below.

It is also necessary to use the original username and password. The username can be found in the following file:

UNIX/Linux: <msdp_path>/databases/spa/database/authentication/1
Windows: <msdp_path>\databases\spa\database\authentication\1

If the MSDP server is an Appliance, recover the password through the CLISH.

A. Run the following command to create the storage server:

Example:
nbdevconfig -creatests -storage_server dorna -media_server dorna -st 9 -stype PureDisk

Note: The directory path to the nbdevconfig command is...
  UNIX/Linux: /usr/openv/netbackup/bin/admincmd/
  Windows: install_path\NetBackup\bin\admincmd\

B. Then, run the following command to add the credentials, to access this new storage server:

Example:
tpconfig -add -storage_server dorna -sts_user_id userid -password pword -stype PureDisk

Note: The directory path to the tpconfig command is...
  UNIX/Linux: /usr/openv/volmgr/bin/
  Windows: install_path\Volmgr\bin\

2. Restart the NetBackup services on the primary/master server and then the media server.

Follow the steps in the applicable Related Articles below, which include any needed commands.

3. In the Administration console, under the Credentials section, open up the Storage Server properties.

•  Input the path to the MSDP pool.
    •  Example: M:\Msdp.
•  Also input the credentials for Spalogin and Spapassword.

4. Next, create a diskpool with the same name as the original (see the DR file) using the NetBackup Disk Pool Wizard, in this example DiskPool1.

5. Run the nbcatsync command against your DR file.

Syntax:
nbcatsync -sync_dr_file <dr file path and filename>

Note: The directory path to the nbcatsync command is...
  UNIX/Linux: /usr/openv/netbackup/bin/admincmd/
  Windows: install_path\NetBackup\bin\admincmd\

6. If KMS (Key Management Service) was configured on the Primary Server before the disaster occurred, then run the following command to start KMS Services:

    UNIX/Linux: /usr/openv/netbackup/bin/nbkmscmd -discoverNBKMS

    Windows: install_path\NetBackup\bin\nbkmscmd -discoverNBKMS

7. Start a Catalog recovery from the command line:

bprecover -wizard

Note: The directory path to the bprecover command is...
  UNIX/Linux: /usr/openv/netbackup/bin/admincmd/
  Windows: install_path\NetBackup\bin\admincmd\

Applies To

Requirements:

  • The MSDP pool must be up and functioning.
  • Need the media server MSDP Credentials used when initially setting up the MSDP pool (SPA login and password for PureDisk)
  • Catalog backup Disaster Recovery (DR) file must be available.

Was this content helpful?