Disaster recovery for a universal share
Universal share disaster recovery is available for BYO, AKS, and EKS environments when data in a share or share-specific metadata is corrupted 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 host name of the computer the disaster recovery is performed on must match the host name the shares were originally created on.
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 disaster recovery for all universal shares
- Ensure that the
vpfs_cloud.cfgfile exists at the following location:[MSDP storage directory]/etc/puredisk/vpfs_cloud.cfgIf the file does not exist, run the following command:
/usr/openv/pdde/vpfs/bin/vpfscld --download_vpfs_cloud_cfg
- Ensure that the nfs export list exists at the following location:
[MSDP storage directory]/etc/vpfs-shares.exportson BYO or[MSDP storage directory]/cat/config/vpfs-shares.exportson AKS or EKS if there are any loud-configured NFS shares.If the list does not exist, run the following command:
/usr/openv/pdde/vpfs/bin/vpfscld --download_export_list --share_type nfs
- Ensure that the smb export list exists at the following location:
[MSDP storage directory]\/etc/vpfs-shares.confon BYO or[MSDP storage directory]/cat/config/samba/vpfs-shares.confon AKS or EKS if there are any cloud-configured SMB shares.If the list does not exist, run the following command:
/usr/openv/pdde/vpfs/bin/vpfscld --download_export_list --share_type smb
- Restore data to the shares and recover the metadata with the following command:
/usr/openv/pdde/vpfs/bin/vpfs_actions -a disasterReovery --cloudVolume CLOUDVOLUMENAME
Where CLOUDVOLUMENAME is the name of the MSDP cloud volume containing the shares you want to restore. If you want to restore shares across multiple cloud volumes, run this command for each cloud volume.
- Restart the NetBackup services using the following commands:
/usr/openv/netbackup/bin/bp.kill_all
/usr/openv/netbackup/bin/bp.start_all