Backup Troubleshooting
Cheat sheet · https://pcornel.dk/topic.php?topic=4260
Answer
Backup troubleshooting starts with the job log's first real error, then checks the source (snapshot, agent, locked files), the transport (network, credentials) and the target (space, repository health). Keep the failed job's logs before retrying or resetting backup chains.
Remember
- Retry success ≠ root cause; backup job success ≠ restore proof; repository reachable ≠ repository healthy.
- Backup Troubleshooting state or job status proves only its own boundary; it does not automatically prove end-to-end recoverability.
- A current green status does not prove historical restore points, alternate failure domains or future recovery behavior.
- Recovery evidence is strongest when the original protected data or service can be read back and validated after the intended recovery action.
First checks
backup job log— errordf -h <repo>— spacenetwork/credentials check— connectivity
Commands
restic snapshots- Read current Backup & Restore state for a bounded verification step.
Verify in this order
job → source → transport → repository
Where it usually breaks
First mismatch in source consistency → capture/journal → transport → repository/replica → catalog/checkpoint → restore/failover read-back; preserve identity/pre-state before mutation.
Backup → Backup Troubleshooting protection/recovery map
| Protection / recovery boundary | What to verify | Proof limit |
|---|---|---|
| Scope / objective | Correct protected service, data, dependencies and recovery target | Configuration or policy alone does not prove recoverability |
| Recovery state | Usable restore point, payload, metadata/catalog, keys and repository access | Presence or green job status does not prove successful recovery |
| Failure boundary | Retry success ≠ root cause; backup job success ≠ restore proof; repository reachable ≠ repository healthy. The backup boundary is proven only when a selected restore point survives the protected failure scenario and can be restored and validated. | Correlate evidence for the same restore/failover attempt and time window |
| Acceptance | Healthy evidence for Backup Troubleshooting: the intended protected scope and recovery point are identifiable, required payload/metadata/keys are readable, and the documented restore path produces data or system state that passes the defined validation. | Close only after original workload/data validation and protection restoration |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4260