Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Data Retention

Direct answer

Data retention defines how long each type of data is kept for legal, business and privacy reasons and when it is deleted. Keeping data longer than needed increases breach impact and GDPR risk.

When to use this

Use this when deciding how long data is kept and when it is deleted.

First 30 seconds

1. Retention: keep data only as long as needed (GDPR storage limitation).

2. Automate deletion.

3. Legal holds override.

4. Include backups and archives.

5. Document.

Operational verification

data age → retention rule → delete/archive

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Keeping everything forever "just in case", increasing breach impact and GDPR risk.
  • Retention set in policy but not implemented in systems.
  • Backups and archives ignored when deleting data.
  • Legal holds not overriding automated deletion.
Platform / version applicability
Data protection and recovery security
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 security
Scope / prerequisiteUse this when deciding how long data is kept and when it is deleted.
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
  • Legal, business and privacy needs set retention.
  • Longer retention increases breach impact.
  • Deletion must actually happen.
Key checks
  • Retention schedule per data type — policy
  • Automated deletion jobs — enforcement
  • Legal hold process — exceptions
ReferenceWhy it matters1 section · depth on demand

Setting retention

1. List data types and their legal requirements (for example bookkeeping 5 years in Denmark, logs per policy).

2. Set retention per type, with the reason.

3. Automate deletion (retention labels, lifecycle rules).

4. Handle legal holds that pause deletion.

Keeping data "just in case" increases breach impact and conflicts with GDPR storage limitation.

ReferenceImportant terms & boundaries2 sections · depth on demand

Example retention rules

DataRetentionBasis
Accounting records5 yearsDanish Bookkeeping Act
Job applications (rejected)6 monthsDatatilsynet guidance
CCTV recordings30 daysDanish TV surveillance rules
Security logs1 yearInternal policy / NIS2 risk measures

Examples only — confirm with legal counsel for your sector.

In depth

Data retention defines how long each type of data is kept and what happens at the end: deletion, anonymisation or archiving. Keeping data too briefly can break legal obligations; keeping it too long increases breach impact and violates privacy rules such as GDPR's storage limitation principle.

Building a retention schedule:

Data typeRetention driver
Accounting recordsBookkeeping law (often 5 years)
HR recordsEmployment law
LogsSecurity needs vs privacy
Customer dataContract duration + legal period
BackupsRecovery needs; they contain deleted data too

Automate deletion where possible (lifecycle policies, retention labels), and remember backups and archives when deleting data under a legal obligation.

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 security current

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

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

Confirm action

Continue?