Restore a backup

Backups are enabled by default and done via K8up with a backup script this chart ships. List the existing backups:

$ kubectl -n <instance-namespace> get snapshots.k8up.io

Each snapshot holds one .tar of /data per pod: the append only file and the dump beside it, taken while no rewrite was running.

Restoring is not self-service yet: a claim cannot start from a snapshot. Ask your platform operator. They restore with a K8up Restore in the instance namespace, using the backend of the Schedule ampulla wrote there, <instance>-backup:

$ kubectl -n <instance-namespace> get schedules.k8up.io <instance>-backup -o jsonpath='{.spec.backend}'