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:
- StorageClass defined which is provisioned by a supported CSI driver. Check the
provisioner:in theSpecto 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 - VolumeSnapshotClass that has a
driver:that matches theprovisioner: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
- StorageClass defined which is provisioned by a supported CSI driver. Check the
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.