Skip to main content

Back up and restore the cluster

The disaster recovery module backs up the cluster with Velero. furyctl has no backup or restore command: you use the velero CLI.

Enable the backups​

The module is disabled by default (spec.distribution.modules.dr.type: none). To enable it, set the type:

  • eks for the EKSCluster provider.
  • on-premises for the other providers.

Then run furyctl apply. See Disaster recovery for the other fields, for example the storage of the backups.

Default schedules​

When the module is enabled, SD creates two Velero schedules in the kube-system namespace:

ScheduleWhenWhatKept for
manifestsEvery 15 minutesThe Kubernetes resources, without the volumes.30 days
fullEvery day at 01:00The Kubernetes resources and snapshots of the volumes.30 days

To change or disable them, use spec.distribution.modules.dr.velero.schedules.

Restore​

Install the Velero CLI. Velero runs in the kube-system namespace, so add -n kube-system to each command.

  1. Find the backup that you want to restore:

    velero backup get -n kube-system
  2. Restore it:

    velero restore create <restore-name> --from-backup <backup-name> -n kube-system --wait

To make a backup now, from one of the schedules:

velero backup create <backup-name> --from-schedule full -n kube-system --wait

For the other options, see the Velero documentation.