After restoring a namespace into the DR cluster with Velero, PVCs stay `Pending`.
AdvancedTroubleshootingBackups, DR & Runbook Automation
Answer
Likely causes → The StorageClass referenced by the PVCs does not exist in the DR cluster (different name or CSI driver), or snapshots cannot be restored across regions without copying them first.
Diagnose →
kubectl get pvc -n shop
kubectl describe pvc -n shop data-postgres-0 | grep -A5 Events
kubectl get storageclass
Fix → Use Velero's storage class mapping (a ConfigMap for the change-storage-class restore item action) to map old to new classes, and copy snapshots to the DR region, or use file-system backups stored in object storage replicated across regions.
Prevent → Keep StorageClass names consistent across clusters and include cross-region restore in DR drills.
More on Backups, DR & Runbook Automation
`velero backup describe shop-nightly` shows `Phase: PartiallyFailed`.Intermediate`etcdctl snapshot save` fails with `Error: context deadline exceeded`.IntermediateA restore test fails with `pg_restore: error: could not execute query: ERROR: role "app_rw" does not exist`.BeginnerYou restored an RDS instance to a point in time, but the application cannot connect.IntermediateThe nightly backup job reports success, but the backup files in S3 are 0 bytes.BeginnerThe backup CronJob silently stopped running. Events show `Cannot determine if job needs to be started: too many missed start time (> 100). Set or decrease .spec.startingDeadlineSeconds or check clock skew.`Intermediate