Backup And Restore
ClusterForge provides Velero building blocks, but backup installation is not a restore guarantee. Restore procedures must be tested before a platform is treated as recoverable.
Scope
modules/platform/kubernetes/veleroinstalls Velero with Helm.modules/cloud/aws/velero-backup-bucketcreates an encrypted S3 bucket for backup storage.- Cloud IAM roles, bucket policies, and restore approvals remain environment responsibilities.
Backup Runbook
-
Confirm Velero is installed:
kubectl -n velero get deploy velero version - Create a test namespace and workload.
-
Run a backup:
velero backup create smoke-test --include-namespaces smoke-test -
Confirm the backup completed:
velero backup describe smoke-test velero backup logs smoke-test - Confirm backup objects exist in the configured S3 bucket.
Restore Runbook
- Choose a tested backup.
-
Restore into a safe namespace first when possible:
velero restore create smoke-test-restore --from-backup smoke-test - Validate Kubernetes objects, pods, services, ingress, and application-level health checks.
- Confirm data-bearing workloads restored the expected data. Velero object restore does not automatically prove application consistency.
Disaster Recovery Limitations
- Velero cannot recover data that was never backed up.
- Failed cloud IAM permissions can block backup or restore.
- Storage provider outages can block restore.
- Cluster-scoped resources and CRDs need careful ordering.
- Some stateful applications require database-native backup and restore in addition to Kubernetes object restore.
Testing Restore
At minimum, test a namespace restore after every material backup configuration change. For production, test restore into an isolated cluster or namespace on a regular schedule and retain evidence of the result.