Pcornel
Storage · Backup

Backup Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=4260

Back to the Topic

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 — error
  • df -h <repo> — space
  • network/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 boundaryWhat to verifyProof limit
Scope / objectiveCorrect protected service, data, dependencies and recovery targetConfiguration or policy alone does not prove recoverability
Recovery stateUsable restore point, payload, metadata/catalog, keys and repository accessPresence or green job status does not prove successful recovery
Failure boundaryRetry 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
AcceptanceHealthy 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

Confirmation

Confirm action

Continue?