Module 8 · Data Retention & Erasure — DPDP §8(7) and §12

Manish Garg
Manish Garg Associate of (ISC)² · RingSafe
Apr 27, 2026
3 min read
Read as

Last updated: April 29, 2026

100% Free

No signup. No paywall. No catch. One of our 10 most-requested practitioner modules — published in full so anyone can learn for free. We earn through consulting, not by gating knowledge.

See all 10 free modules →

Why this module exists. “How long do we keep customer data?” is the question that has the most-wrong answers in Indian SaaS. The right answer is structured: per-data-category retention, with sectoral overrides, with erasure capability for data principals.

Why this module exists. “How long do we keep customer data?” is the question that has the most-wrong answers in Indian SaaS. The right answer is structured: per-data-category retention, with sectoral overrides, with erasure capability for data principals. Implementing this requires both legal mapping and engineering work.

The DPDP retention principle

§8(7)(d): “the personal data is erased upon the consent being withdrawn, or as soon as it is reasonable to assume that the specified purpose is no longer being served.”

Translation: retention is purpose-bound. When the purpose ends or consent is withdrawn, erase — unless overriding obligation says otherwise.

Sectoral retention overrides (the “we have to keep it” cases)

Sector / Law Retention What
RBI 8 years Banking transaction records, KYC documents
SEBI 5 years Trading records, client records, communication
IRDAI 7-10 years Insurance policy and claims records
Income Tax Act 6-8 years Books of accounts, transaction records
Companies Act 8 years Statutory registers, board records
GST 6 years Tax invoices, return filings
PMLA 5 years KYC after relationship ends
IT Act / CERT-In 180 days System logs (specific log types)
POSH Act 3 years Sexual harassment complaint records

The retention schedule — a concrete template

Data category Retention Trigger to delete Legal basis to retain
Customer KYC (if PMLA-applicable) 5 years post end-of-relationship Account closed + 5y PMLA §12
Customer KYC (non-PMLA) 3 years post end-of-relationship Account closed + 3y Defending claims
Transaction records (financial) 8 years Year-end + 8y RBI / IT Act
Transaction records (non-financial) 3 years Transaction + 3y Defending claims
Marketing consent records While consent is active + 1y after withdrawal Withdrawal + 1y Audit trail
Customer support tickets 2 years Ticket close + 2y Service quality
Application logs (CERT-In scope) 180 days 180 days from event CERT-In Direction
Application logs (other) 90 days 90 days from event Operational
Backups 30-60 days rolling Age > 60 days Disaster recovery
Marketing analytics (pseudonymised) Indefinite None Pseudonymised, not personal

Customise per your business. Document the rationale.

The erasure-on-request pipeline

When a Data Principal requests erasure, you need to:

  1. Verify identity.
  2. Determine which data falls under sectoral override (cannot delete).
  3. Erase the rest, including in:
    • Primary database (soft-delete, then hard-delete after verification window)
    • Read replicas and analytics warehouse (downstream sync)
    • Logs (where the user is identifiable; redact don’t delete from logs)
    • Backups (here it gets hard — see below)
    • Vendor systems (forward request to processors)
    • Email systems (transactional emails sent contain PII)
  4. Notify the requester, including:
    • What was erased
    • What was retained (with legal basis)
    • When the retained data will be erased
  5. Audit log the entire flow.

The backup problem

Hard truth: erasing from backups is operationally expensive. The pragmatic pattern:

  • Backups are encrypted; only restore-on-demand.
  • Document policy: “erased records persist in encrypted backups for up to N days; backups age out and erased records become permanently inaccessible.”
  • If you restore a backup that contains erased records, immediately re-erase from the restored database.

This is the consensus interpretation under DPDP and GDPR. The DPB hasn’t published explicit guidance.

The “soft delete” pattern

Don’t delete immediately. Instead:

  1. Day 0: mark record deleted_at = now. Hidden from app, retained in database.
  2. Day 30: hard-delete the record. Anonymise any references in foreign tables.
  3. Day 60: backups containing the record age out.

The 30-day window allows recovery from accidental deletion / fraud disputes / regulatory request.

Detection and proof — the auditor’s question

“Show me the deletion log for customer ID 12345 who requested erasure on 1 March 2026.”

Your answer should be one query. If it’s not, your pipeline isn’t auditable.

Defender’s checklist

  • Per-category retention schedule documented and signed off by legal + DPO.
  • Automated retention enforcement — daily / weekly cron that hard-deletes records past their retention.
  • Erasure pipeline with verifiable per-system completion.
  • Vendor request forwarding — when you erase, your processors erase.
  • Pseudonymisation for long-retention analytics — when you can’t delete, anonymise.
  • Audit log for every retention-driven deletion and every erasure-request-driven deletion.
  • Annual retention review — does the schedule still match operational reality? Are sectoral periods current?
🧠
Check your understanding

Module Quiz · 6 questions

Pass with 80%+ to mark this module complete. Unlimited retries. Each question shows an explanation.

Want this for your team?

Custom team training + practitioner advisory

Beyond the free academy — we run private workshops, vCISO advisory, and red-team exercises tailored to your stack. For Indian SMBs scaling past their first hire.

Book team training call Replies in 4 working hrs · India-only · Senior consultants