Back up workspaces

Back up OpenShift Dev Spaces workspace data to an OCI-compatible registry on a recurring schedule.

The Dev Workspace backup controller creates periodic snapshots of stopped workspace PVCs and stores them as tar.gz archives in a target registry. Supported registries include the OpenShift Container Platform integrated registry and Quay.io. Configure the backup schedule, target registry, and authentication by editing the DevWorkspaceOperatorConfig resource.

The backoffLimit field sets the number of retries before marking the backup job as failed. The default value is 1.

Note

By default, the Dev Workspace backup job is disabled.

After you configure backups, you can restore workspace data from a backup. For restore instructions, see Additional resources.