`etcdctl snapshot save` fails with `Error: context deadline exceeded`.
IntermediateTroubleshootingBackups, DR & Runbook Automation
Answer
Likely causes → etcdctl cannot reach or authenticate to etcd: missing TLS flags, wrong endpoint, or etcd is unhealthy.
Diagnose →
ETCDCTL_API=3 etcdctl --endpoints=https://127.0.0.1:2379 \
--cacert=/etc/kubernetes/pki/etcd/ca.crt \
--cert=/etc/kubernetes/pki/etcd/server.crt \
--key=/etc/kubernetes/pki/etcd/server.key endpoint health
Fix → Pass the CA, cert and key flags and the right endpoint to snapshot save, then verify with etcdutl snapshot status <file> -w table.
Prevent → Wrap etcd backups in a tested script or CronJob with alerting on failure and age.
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`.AdvancedA 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