Entitix

Privacy, security and AI

Data retention schedule: how to build one and find data kept too long

  • Updated
  • 5 min read
Contents

Organizations are usually good at collecting data and poor at letting it go. Yet keeping data too long is a risk of its own: it costs storage, widens the damage of a breach and, for personal data, breaks the law. Keeping it too briefly breaks other laws. A retention schedule settles, class by class, how long data is kept, from when, and what happens at the end.

In short

  • A retention schedule lists classes of records with their retention period, the event the period runs from, the legal basis and the disposition at the end.
  • Laws set minimum periods (tax, accounting, anti-money laundering) and the GDPR sets a maximum: no longer than necessary for the purpose.
  • Map every rule to the systems, tables and files that hold the records, including copies.
  • Disposal means deletion or anonymization, by automated jobs; legal holds suspend it.
  • Measure the records kept past retention, rule by rule, and follow them down to zero.

What a retention rule contains

ItemWhat it saysExample
Record classThe kind of records the rule coversCustomer due diligence files
PeriodHow long they are keptFive years
Trigger eventThe event the period runs fromThe end of the business relationship
Legal basisThe law, contract or business reason behind the periodAnti-money-laundering legislation
DispositionWhat happens at the endDeleted; anonymized; reviewed; kept permanently
ArchivingWhen records move to cheaper storage before the endAfter two years, to the archive
Legal holdWhether disposal is suspended, and whySuspended for a pending dispute
OwnerWho answers for the ruleThe data owner of the customer domain
Where the records areThe systems, tables and files governed by the ruleOnboarding system, document store, data warehouse

Trigger events

The period rarely runs from the date a record was created. Common triggers:

TriggerExample
Record dateLog entries kept for twelve months from the event
End of the relationshipCustomer files kept for years after the account is closed
End of a contractContract documents kept after the contract ends
Case closedComplaint files kept after the complaint is resolved
Consent withdrawnMarketing data removed when consent is withdrawn
End of the financial yearAccounting records kept from the end of the year they belong to
Last activityInactive accounts removed after a period without use

A trigger turns a vague “keep for five years” into something a deletion job can compute.

Minimums and maximums

  • Minimums come from laws and contracts. For example, EU anti-money-laundering rules require customer due diligence records to be kept for five years after the business relationship ends, and national tax and accounting laws set their own periods.
  • The maximum comes from data protection. Under the GDPR’s storage limitation principle (Article 5(1)(e)), personal data is kept no longer than necessary for the purposes it is processed for. The record of processing activities should state the envisaged time limits for erasure (Article 30(1)(f)). See GDPR record of processing activities.
  • The business need sits between them: the time the data is genuinely used.

When several rules apply to the same records, the longest legitimate minimum usually wins, and the records should be removed promptly once it passes.

Building the schedule

  1. Inventory the record classes, from the record of processing activities, the data catalog and the departments that create records.
  2. Find the legal minimums and the business needs for each, with legal and compliance.
  3. Set the period and the trigger, as specific as a job could apply them.
  4. Choose the disposition: deletion, anonymization, review or permanent keeping for archival reasons.
  5. Map each rule to where the records are: systems, tables, files and document stores. The CRUD matrix and the data lineage show the copies.
  6. Approve the schedule with the data owners and legal, and publish it.
  7. Implement disposal as automated jobs per system; manual deletion does not scale.
  8. Monitor: each job reports how many records it checked, how many were past retention and how many it disposed of.
  9. Review the schedule when laws, products or systems change.

Finding data kept too long

The most useful measure is the number of records past retention, per rule and per table: records whose period has ended and which should already be gone. It shows where disposal jobs are missing, failing or blocked. Counting is enough: the measure never needs the records themselves.

Special cases

  • Legal holds. A dispute, an investigation or an audit suspends disposal for the records involved, until the hold is lifted.
  • Backups. Records usually cannot be deleted from backups one by one; they disappear as backups expire, and must not be restored into use.
  • Archives. Archived data is still kept data: the same rule and the same end apply.
  • Copies and extracts. Data warehouses, test databases, exports and spreadsheets hold copies that the source system’s deletion does not reach.

Common mistakes

  • Keeping everything forever because deletion feels risky.
  • Periods without triggers, which no job can apply.
  • A schedule not mapped to systems, approved on paper and applied nowhere.
  • Deleting in the source and forgetting the copies.
  • Ignoring legal holds, and destroying records that had to be preserved.
  • No measurement, so nobody knows whether disposal works.

Frequently asked questions

What is a data retention schedule?

A data retention schedule is the list of an organization’s record classes with, for each, how long the records are kept, the event the period runs from, the legal or business basis, and what happens at the end: deletion, anonymization, review or permanent keeping. It is mapped to the systems that hold the records and applied by disposal jobs.

How long should personal data be kept?

No longer than necessary for the purpose it is processed for, under the GDPR’s storage limitation principle, but at least as long as other laws require, such as tax, accounting and anti-money-laundering rules. The resulting period is set per record class in the retention schedule.

What is a legal hold?

A legal hold suspends the disposal of records that may be needed for litigation, an investigation or an audit. Records under a hold are kept beyond their normal retention period until the hold is lifted, and are then disposed of under the usual rule.

How do you delete data from backups?

Usually by letting backups expire on their normal cycle rather than editing them. Records deleted from live systems disappear from backups as the old copies are overwritten, provided that restored backups are not put back into use without reapplying the deletions.