A restore test fails with `pg_restore: error: could not execute query: ERROR: role "app_rw" does not exist`.
BeginnerTroubleshootingBackups, DR & Runbook Automation
Answer
Likely causes → pg_dump captures objects and ownership but not cluster-wide roles. The target server lacks the roles referenced by OWNER TO and GRANT statements.
Diagnose → Check roles on the target with \du in psql.
Fix → Restore roles first (pg_dumpall --roles-only from the source, or create them via IaC), or restore with --no-owner --no-privileges and reapply grants.
Prevent → Include roles in the backup set and run automated restore tests into an empty instance, which catch exactly this.
More on Backups, DR & Runbook Automation
`velero backup describe shop-nightly` shows `Phase: PartiallyFailed`.IntermediateAfter restoring a namespace into the DR cluster with Velero, PVCs stay `Pending`.Advanced`etcdctl snapshot save` fails with `Error: context deadline exceeded`.IntermediateYou 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