Views:

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:

  1. Delete VSCs that have the prefix "cloudcasa-" in their names and use the Rook Ceph CSI driver.

  2. Find the VSC with the Rook Ceph CSI driver that is used for taking the Volume Snapshots.

  3. Edit the VSC to make the following changes:

    1. Add the following label:

      velero.io/csi-volumesnapshot-class: "true"
    2. Ensure that DeletionPolicy is set to Retain.

    3. 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.