Skip to main content
Version: 2.8

Backup and restore with FlashBlade

Prerequisites for backup and restore with FlashBlade

note

The workaround described in option 1 and option 2 of this topic is applicable only if your Stork version is below 23.9.1. If your Stork version is 23.9.1, skip this section.

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 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:

  1. Login to FlashBlade web console.

  2. Navigate to Storage section from the left navigation pane or sidebar.

  3. Click File Systems and search for the required PVC with the help of Name search box.

  4. From the result displayed, choose the required volume, click the vertical ellipsis (three dots) at the end of the row and select Edit.

  5. 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:

  1. Edit the Portworx StorageCluster spec.

  2. Add the below environment variable and set it to false:

-name: PURE_DEFAULT_ENABLE_FB_NFS_SNAPSHOT
value: "false"
caution

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 choosing VolumeSnapshotClass option in the Portworx Backup web console during the backup creation.

Related topic: