Storage · Backup
Retention
Cheat sheet · https://pcornel.dk/topic.php?topic=4255
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— previewproxmox-backup-manager prune-job list— PBS prune jobsbackup 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 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 | Configured 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 |
| Acceptance | Healthy 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