Prerequisites
Ensure that you meet the prerequisites before you work with Backup & Restore service.
- Install either the Backup & Restore or Backup & Restore Agent service. For the procedure to install, see Install Backup & Restore.
- Ensure that you define a StorageClass that is provisioned by a supported CSI driver. Check the
provisioner:in theSpecto make sure that it is backed by CSI.Sample Storage Class for Fusion Data Foundation:apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: ocs-storagecluster-cephfs provisioner: openshift-storage.cephfs.csi.ceph.com reclaimPolicy: Delete allowVolumeExpansion: true volumeBindingMode: ImmediateNote: The Storage Class must have the CSI Snapshot capability (VolumeSnapshotClass). - For backups and restores to run successfully, ensure that CSI compliant storage classes have
volumeBindingModeset toImmediate. - Ensure that the VolumeSnapshotClass has a
driver:that matches theprovisioner:in the StorageClass.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