Pcornel
Storage · Backup

Retention

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

Back to the Topic

Answer

Retention is a recoverability timeline over concrete restore points and dependencies, not only a number configured in a job.

Remember

  • Configured retention ≠ retained usable restore points; catalog age ≠ underlying data availability.
  • Retention 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

  • restic forget --keep-daily 7 --keep-weekly 4 --keep-monthly 12 --dry-run — preview
  • proxmox-backup-manager prune-job list — PBS prune jobs
  • backup policy document — retention rules

Verify in this order

policy → prune → GC

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 → Retention 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 boundaryConfigured retention ≠ retained usable restore points; catalog age ≠ underlying data availability. 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 Retention: 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=4255

Confirmation

Confirm action

Continue?