Most companies have a sentence about retention.
Very few have a retention system.
The sentence usually says:
We retain personal data for as long as necessary to provide our services, comply with legal obligations, resolve disputes, and enforce our agreements.
It sounds reasonable.
It tells engineering almost nothing.
A working retention policy needs to answer four questions for each important category of data:
- Why are we keeping it?
- How long should we keep it?
- What triggers deletion?
- What system actually performs the deletion?
Retention belongs to the purpose, not the person
A common mistake is to give a customer one retention period.
That is rarely useful.
Consider a SaaS user:
Account data → account operation
Marketing profile → marketing
Support ticket → support
Security logs → security
Billing record → accounting / legal obligation
Product events → analytics
These are different processing activities. They may have different retention logic.
Build a retention matrix
Start with something simple:
| Data | Purpose | Retention rationale | Deletion mechanism | Owner |
|---|---|---|---|---|
| Account profile | Account operation | While account exists + defined post-closure window | Account job | Platform |
| Marketing profile | Marketing | Consent / purpose | Preference + deletion workflow | Growth |
| Support ticket | Support | Policy + legal requirements | Scheduled deletion | Support Ops |
| Security logs | Security | Applicable statutory / operational requirement | Log lifecycle policy | Security |
The exact periods should come from the purpose, applicable law, contracts, and sector-specific requirements.
Do not invent a universal “90 days” simply because it appears in somebody else's template.
DPDP makes purpose important
Section 8(7) addresses erasure when the purpose is no longer being served, subject to lawful retention requirements. The final Rules also introduce specific retention requirements for certain classes and purposes.
This is why a retention schedule should be tied to processing context.
The question is not:
“Can we legally keep this?”
The question is also:
“Why are we still processing this?”
Build deletion into the infrastructure
A retention policy should map to an actual control.
Examples:
Postgres
→ scheduled cleanup job
S3
→ lifecycle policy
DynamoDB
→ TTL / application workflow
Logs
→ retention configuration
CRM
→ vendor API / support workflow
Then verify that the control works.
A policy that says “delete after 180 days” is not evidence that deletion happens after 180 days.
Backups are the hard part
Backups are designed for recovery, not per-record editing.
That means teams need a deliberate backup strategy rather than pretending every historic backup can be surgically altered.
Useful controls include:
- Controlled backup retention
- Restricted restore paths
- Isolation of restored data
- Policies that prevent deleted data from re-entering production
- Documented retention exceptions where law or recovery requirements apply
The engineering objective is to make sure a deleted data record does not quietly come back into the active environment through an uncontrolled restore.
Retention exceptions need evidence
Fintech and regulated businesses often have genuine reasons to retain particular records.
That does not justify keeping every copy forever.
Create an exception record:
Data category
→ retention requirement
→ legal / contractual source
→ systems retained
→ retention end date / trigger
→ owner
If somebody says “legal hold,” the system should be able to show why.
The monthly retention test
Take five data categories and ask:
- Is the data still needed for the original purpose?
- Is the stated period still accurate?
- Does the system enforce it?
- Is the processor doing the same thing?
- What happens in backups?
If the answer depends on manual memory, retention is not operational yet.
Where teams fail
One retention period for everything.
Policy without automation.
No distinction between regulatory retention and convenience.
Forgotten copies in analytics and support tools.
No proof of deletion.
Where Privra fits
Privra connects data discovery to purpose, retention and deletion workflows, so a retention schedule is not just a document sitting beside production infrastructure.
The useful outcome is knowing which data should still exist, which data should not, and whether the system agrees.