Configuring an external MSDP catalog backup from the deduplication shell
Use the cacontrol utility using the deduplication shell to configure and modify the external MSDP catalog backups. This utility is located at /usr/openv/pdde/pdcr/bin. To configure the external MSDP catalog backup, an MSDP user must be created with the app role. An existing user can be used, or new credentials can be provided, which can create a new MSDP user with the app role.
To set up the external MSDP catalog backup
- On the NetBackup web UI, create an SLP with an import operation.
Select the destination storage as the MSDP local LSU storage unit.
Verify that the retention type is set to Target retention.
- Add a child rule to the SLP.
Select the operation to Duplication and set the destination storage to the desired external storage server to store the MSDP catalog backup.
The duplication storage server cannot be the same as the MSDP storage server specified in step 1. Verify that the retention type is set to Fixed and set the retention period as desired.
- Open an SSH session to the MSDP server.
- On the MSDP server, create an MSDP user with the app role using a desired username and password. You can skip this step if MSDP app user already exists.
/usr/openv/pdde/pdcr/bin/spauser -a -u <app-username> -p <app-password> --role app
- Run the following command on the MSDP server to set up MSDP catalog backups.
cacontrol --catalog setupexternalcopy <username> <password> <frequency in minutes> <slp_name>
frequency: An interval to capture the MSDP catalog backup in minutes (1440 = daily, 10080 = weekly).
slp_name: The name of the SLP that was created in the step 1.
username/password: A username and password of the NetBackup user with the necessary rights or an administrator.
It creates a configuration file in the MSDP data volume at
<STORAGE>/etc/puredisk/cat_backup.cfglocation. The configuration file cannot be changed manually. Log files and directories are created at<STORAGE>/log/spad/location.
To view the configuration
- Open an SSH session to the MSDP server.
- Run the following command to view the MSDP catalog backup configuration settings:
cacontrol --catalog getexternalcopyconfig
To change the backup interval
- Open an SSH session to the MSDP server.
- Run the following command to change the backup interval:
cacontrol --catalog editexternalcopyfrequency <frequency in minutes>
The backup interval should only be changed after the external MSDP catalog backup is set up.
To change the import SLP name
- On the NetBackup web UI, create an SLP with an import operation.
Select the destination storage as the MSDP local LSU storage unit.
Verify that the retention type is set to Target retention.
- Add a child rule to the SLP.
Select the operation to Duplication and set the destination storage to the desired external storage server to store the MSDP catalog backup.
The duplication storage server cannot be the same as the MSDP storage server specified in step 1. Verify that the retention type is set to Fixed and set the retention period as desired.
- Open an SSH session to the MSDP server.
- Run the following command to change the SLP name that is used to import the MSDP catalog backup image to the NetBackup:
cacontrol --catalog editexternalcopyslpname <slp_name>
The SLP name should only be changed after the external MSDP catalog backup is set up.