Backup and restore with FB
Prerequisites for backup and restore with FlashBlade (FB)
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 a read-only directory.
To troubleshoot this scenario, you need to disable Snapshot option in FlashBlade web console. There are two associated scenarios you can encounter here:
- PVC already exists along with the application
- PVC is yet to be deployed
Option 1
When the PVC already exists, perform the below steps:
-
Login to FlashBlade web console.
-
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.
Option 2
If you are yet to deploy the PVC:
-
Edit the Portworx
StorageCluster
spec. -
Add the below environment variable and set it to
false
:
-name: PURE_DEFAULT_ENABLE_FB_NFS_SNAPSHOT
value: "false"
Portworx service restarts after you make the above environment variable change.
Backup with FlashBlade
After you make necessary settings in the FlashBlade web console, refer to Create Backup for information on how to create backups with Portworx Backup. Ensure that you deselect the following option during backup creation:
VolumeSnapshotClass
does not support CSI snapshots. For your backups to succeed, refrain from choosingVolumeSnapshotClass
option in the Portworx Backup web console during the backup creation.
Related topic: