Backup and restore application resources

IBM Storage Fusion HCI System andIBM Storage Fusion provides a common interface to backup your applications and workloads.

The workload includes the following data:
  • PVs of the deployed workloads
  • Namespace and cluster scope resources for deployed workloads
Prerequisite
Ensure that you have the following prerequisites:
  1. StorageClass defined which is provisioned by a supported CSI driver. Check the provisioner: in the Spec to make sure it is backed by CSI.
    The following is a sample StorageClass:
    
    apiVersion: storage.k8s.io/v1
    kind: StorageClass
    metadata:
      name: ocs-storagecluster-cephfs
    provisioner: openshift-storage.cephfs.csi.ceph.com
    reclaimPolicy: Delete
    allowVolumeExpansion: true
    volumeBindingMode: Immediate
  2. VolumeSnapshotClass that has a driver: that matches the provisioner: in the StorageClass.

    The following is a sample YAML for Red Hat® OpenShift® Data Foundation RBD storage:

    
    apiVersion: snapshot.storage.k8s.io/v1
    kind: VolumeSnapshotClass
    driver: openshift-storage.cephfs.csi.ceph.com
    metadata:
      name: ocs-storagecluster-cephfsplugin-snapclass
    deletionPolicy: Delete
    parameters:
      clusterID: openshift-storage
      csi.storage.k8s.io/snapshotter-secret-name: rook-csi-cephfs-provisioner
      csi.storage.k8s.io/snapshotter-secret-namespace: openshift-storage
Note: If you plan to create and use your own storage classes in IBM Storage Fusion HCI System, ensure you have the volume snapshot class.