Summary
Backup jobs for the Rook Ceph CSI volumes may fail if you have not properly configured a Volume Snapshot Class (VolumeSnapshotClass, VSC). Follow the instructions in this article to create a custom VSC so that you can back up your Rook Ceph CSI volumes.
Step-by-Step
Take the following steps before running a snapshot or copy backup job for the Rook Ceph CSI volumes:
-
Delete VSCs that have the prefix "cloudcasa-" in their names and use the Rook Ceph CSI driver.
-
Find the VSC with the Rook Ceph CSI driver that is used for taking the Volume Snapshots.
-
Edit the VSC to make the following changes:
-
Add the following label:
velero.io/csi-volumesnapshot-class: "true"
-
Ensure that
DeletionPolicy
is set toRetain
. -
Ensure that you can see valid storage credentials of the Rook Ceph CSI driver in the VSC.
Tip. If you cannot edit the VSC in these steps, create a new VSC with the same configurations as those seen in the working VSC with the Rook Ceph CSI driver, and make the changes of these steps.
-
From CloudCasa in your web browser, run the snapshot or copy backup job again. Ensure that the backup job ends with the COMPLETED status.