Backup and Restore with FB
NFS-share backup and restore with FlashBlade is not available in Federated mode.
Prerequisites for backup and restore with FlashBlade (FB)
When you restore a backup with FlashBlade direct NFS volumes on a Portworx Enterprise cluster, the restore might fail because of a hidden snapshot directory. Portworx Backup cannot access this hidden snapshot directory because it is a read-only directory.
To troubleshoot this scenario, disable the Snapshot option in the FlashBlade web console. There are two scenarios you can encounter:
- PVC already exists along with the application
- PVC is yet to be deployed
Option 1
When the PVC already exists, perform the following steps:
-
Log in to FlashBlade web console.
-
Navigate to the Storage section from the left navigation pane or sidebar.
-
Click File Systems and search for the required PVC using the 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, go to the Special Directories field and disable or uncheck the Snapshot option.
Option 2
If you are yet to deploy the PVC:
-
Edit the Portworx
StorageClusterspec. -
Add the following environment variable and set it to
false:- name: PURE_DEFAULT_ENABLE_FB_NFS_SNAPSHOT
value: "false"
Portworx service restarts after you make this environment variable change.
Back up with FlashBlade
After you make the necessary settings in the FlashBlade web console, see 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 choosingVolumeSnapshotClassoption in the Portworx Backup web console during the backup creation.