Prerequisites for backup and restore with FlashBlade
When you restore a backup with FlashBlade direct NFS volumes on Portworx Enterprise cluster, restore might fail because of a hidden snapshot directory. Portworx Backup cannot access this hidden snapshot directory because it is read-only directory.
To troubleshoot this scenario, you need to disable Snapshot option in FlashBlade user interface. There are two associated scenarios you can encounter here:
- PVC already exists along with the application
- PVC is yet to be deployed
When the PVC already exists, perform the below steps:
Login to FlashBlade user interface.
Navigate to Storage section from the left navigation pane or sidebar.
Click File Systems and search for the required PVC with the help of Name search box.
From the result displayed, choose the required volume, click the vertical ellipsis (three dots) at the end of the row and select Edit.
In the Edit File System window, move to Special Directories field and disable or uncheck Snapshot option.
If you are yet to deploy the PVC:
Edit the Portworx
Add the below environment variable and set it to
Portworx service restarts after you make the above environment variable change.
Backup with FlashBlade
After you make necessary settings in the FlashBlade user interface, refer to Create Backup for information on how to create backups with Portworx Backup. Ensure that you deselect the following option during backup creation:
VolumeSnapshotClassdoes not support CSI snapshots. For your backups to succeed, refrain from choosing
VolumeSnapshotClassoption in the Portworx Backup user interface during the backup creation.