Backups of persistent volumes

Persistent Volumes (PVs) store workspace data for Che similarly to how workspace data are stored for desktop IDEs on a local hard disk drive. PVs must be backed up periodically to prevent data loss. Storage-agnostic tools are available for backing up and restoring Kubernetes or OpenShift resources, including PVs.

Velero

An open source tool for backing up Kubernetes applications and their PVs is Velero. This tool can perform the following operations:

  • Deploy in the cloud or on premises.

  • Back up the cluster and restore the backed up data in case of data loss.

  • Migrate cluster resources to other clusters.

  • Replicate a production cluster to development and testing clusters.

Alternatively, you can use backup solutions that depend on the underlying storage system: for example, solutions specific to Gluster or Ceph.