Restoring the MSDP catalog from a shadow copy
NetBackup automatically restores the necessary parts of the MSDP catalog if corruption is detected. However, you can restore the MSDP catalog from a shadow copy manually, although in normal circumstances it is not necessary. Cohesity recommends that you contact your Cohesity Support representative before you restore all or part of the MSDP catalog from a shadow copy.
The procedure that you use depends on the restore scenario, as follows:
|
Restore the entire MSDP catalog from a shadow copy |
In this scenario, you want to restore the entire catalog from one of the shadow copies. See “To restore the entire MSDP catalog from a shadow copy”. |
|
Restore a specific MSDP database file |
The MSDP catalog is composed of multiple small database files. Those files are organized in the file system by the client name and policy name, as follows: UNIX: /database_path/databases/catalogshadow/2/ClientName/PolicyName Windows: database_path\databases\catalogshadow\2\ClientName\PolicyName You can restore the database files for a client and a policy combination. The restore of a specific client's and policy's database files is always from the most recent shadow copy. See “To restore a specific MSDP database file from a shadow copy”. |
To restore the entire MSDP catalog from a shadow copy
- If any MSDP jobs are active, either cancel them or wait until they complete.
- Disable all policies and storage lifecycle policies that back up to the Media Server Deduplication Pool.
On the MSDP storage server, run the following command, depending on host type:
UNIX: /usr/openv/pdde/pdcr/bin/cacontrol --catalog recover all
Windows: install_path\Veritas\pdde\cacontrol --catalog recover all
- Enable all policies and storage lifecycle policies that back up to the Media Server Deduplication Pool.
- Restart the jobs that were canceled before the recovery.
To restore a specific MSDP database file from a shadow copy
- If any MSDP jobs are active for the client and the backup policy combination, either cancel them or wait until they complete.
- Disable the policies and storage lifecycle policies for the client and the backup policy combination that back up to the Media Server Deduplication Pool.
- Change to the shadow directory for the client and policy from which you want to recover that database file. That directory contains the database files from which to recover. The following are the pathname formats:
UNIX: /database_path/databases/catalogshadow/2/ClientName/PolicyName
Windows: database_path\databases\catalogshadow\2\ClientName\PolicyName
Run the following command, depending on host type:
UNIX: /usr/openv/pdde/pdcr/bin/cacontrol --catalog recover 2 "/ClientName/PolicyName"
Windows: install_path\Veritas\pdde\cacontrol --catalog recover 2 "\ClientName\PolicyName"
- Enable all policies and storage lifecycle policies that back up to the Media Server Deduplication Pool.
- If you canceled jobs before you recovered the database files, restart them.
More Information