Disaster recovery for a universal share
Universal share disaster recovery is available for BYO, AKS, and EKS environments when data in a share has been corrupted and or deleted.
Before beginning this procedure, verify that data was backed up with a cloud-configured universal share and at least one PIT image exists for each share that is to be recovered. If there is no PIT image, this procedure cannot be used. The hostname of the computer the disaster recovery is performed on must match the hostname the shares were originally created on. Also, you must make a copy of the auth.key file because the file is required for the disaster recovery.
If the following procedure is performed after a regular MSDP disaster recovery, ensure that NGINX, SPWS, NFS, and SMB are configured as described previously in this chapter.
Performing a disaster recovery for all universal shares
- Navigate to the following location on the media server:
/usr/openv/pdde/vpfs/bin
- Ensure that the
auth.keyfile in your storage path is the same as when a share was last created or deleted. The file contents may be different if you perform a universal share disaster recovery after a regular MSDP disaster recovery. - Run the following:
./vpfs_actions -a disasterRecovery --cloudVolume CLOUDVOLUMENAME
(where cloudVolume is the name of the MSDP cloud volume)
- Revert your
auth.keyfile if you replaced it in step 2. - NetBackup automatically performs the following:
Downloads all of the share scripts from the MSDP cloud volume bucket except for
vpfs0.shwhich should be recovered during MSDP disaster recovery. NetBackup also adds executable permissions to the scripts.Downloads the NFS export list (if it exists) from the cloud.
Downloads the SMB export list (if it exists) from the cloud.
NetBackup calls the vpfsadm --ioctlProxy command to recreate the shares locally.
NetBackup mounts the shares for recovery.
Restart the NetBackup server if it's BYO.
Stop all NetBackup services using
/usr/openv/netbackup/bin/goodies/netbackup stop.Start all NetBackup services using
/usr/openv/netbackup/bin/goodies/netbackup start.
Restart the MSDP node if it's in the MSDP cluster.