Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Retention Policy

Direct answer

A retention policy defines how long each backup copy is kept — for example 14 dailies, 8 weeklies and 12 monthlies — balancing recovery needs, legal requirements and storage cost.

When to use this

Use this when deciding how long each backup type is kept.

First 30 seconds

1. Retention policy sets keep periods per data class.

2. Balance cost, compliance and recovery needs.

3. Separate short-term and long-term copies.

4. Delete data when allowed (privacy).

5. Review annually.

Operational verification

data class → retention rule → prune

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Same retention for all data, regardless of value and legal needs.
  • Retention policy not reflected in job settings.
  • No process for legal holds.
  • Personal data kept in backups far beyond policy, with no plan for handling erasure requests (document the backup exception).
Platform / version applicability
Data protection and recovery
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformData protection and recovery
Scope / prerequisiteUse this when deciding how long each backup type is kept.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Retention balances recovery needs, legal rules and cost.
  • Keeping data longer than needed increases risk.
  • Immutable retention cannot be shortened later.
Key checks
  • restic forget --dry-run ... — retention preview
  • backup policy document — rules
  • legal/regulatory requirements — minimums
ReferenceHow it works1 section · depth on demand

Writing a retention policy

Define per data class: how many daily/weekly/monthly/yearly points, on which media, for how long, and legal holds. Align with law (bookkeeping, health records), contracts and GDPR (do not keep personal data longer than needed). Automate in backup software and review yearly; document exceptions.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

A retention policy states, per data type, how long restore points are kept, how often, and where.

DataExample policyDriver
VMs14 daily, 8 weekly, 12 monthlyOperational recovery
Finance records5 years (Danish bookkeeping act: 5 years)Legal
MailPer retention/archiving policyLegal, e-discovery
Personal dataNo longer than necessaryGDPR

Long retention is often cheaper on object storage or tape than on the primary repository. Retention must also be able to end: backups containing personal data that should have been deleted extend the GDPR exposure.

Example policy

DataDailyWeeklyMonthlyYearly
File servers30 days8 weeks12 months—
ERP/finance30 days8 weeks12 months5 years (bookkeeping law)
Email30 days—12 months—
Dev/test7 days———

Retention must match legal requirements — the Danish Bookkeeping Act requires 5 years.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docData protection and recovery current

Authoritative/upstream documentation reviewed for bounded claims in Backup Strategy → Retention Policy. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/sp/800/34/r1/final · confidence 94%
Confirmation

Confirm action

Continue?