Skip to main content

Backup and Restore

What to Back Up

ComponentMethodFrequency
etcdVelero or etcd snapshotDaily
SecretsSealed Secrets backupOn change
CRDs/CRsGitOps repositoryContinuous
KubeconfigsSecure storageOn creation

Using Velero

# Install Velero
velero install --provider aws --bucket butler-backups ...

# Create a daily backup schedule
velero schedule create butler-daily \
--schedule="0 2 * * *" \
--include-namespaces butler-system \
--include-cluster-resources=true

Manual etcd Backup (Talos)

talosctl -n <control-plane-ip> etcd snapshot db.snapshot

Store the snapshot in a secure location outside the management cluster.

Restore Process

  1. Restore etcd from the snapshot.
  2. Apply CRDs from the butler-crds Helm chart.
  3. Apply CR state from your GitOps repository.
  4. Verify tenant cluster connectivity with butlerctl cluster list.