Security & privacy

A data retention policy your systems can enforce

Keeping data forever increases risk and cost. How to set retention periods and build deletion into your systems, not just your policy document.

GloryTekSystems team13 May 2026 2 min read

Rows of server racks in a data center

Most companies keep personal data far longer than they need it, often because deletion was never designed into their systems. India’s DPDP Act expects personal data to be erased once the purpose it was collected for is served, unless a law requires you to keep it. Old data is also a liability in a breach: you cannot leak what you no longer hold.

Decide a period for each type of data

  • Customer accounts: while the account is active, plus a defined period after closure
  • Enquiries and leads: a fixed period after the last contact
  • Job applications: a fixed period, longer only with the candidate’s consent
  • Invoices and tax records: as long as tax and company law require

Write down the reason for each period. Your legal and finance teams will know the statutory minimums; the rest is a business decision.

Build deletion into the product

Store a creation or expiry date on every record, and run a scheduled job that deletes or anonymises records when they expire. Remember the copies: search indexes, analytics tools, file storage and backups. Backups can usually follow their own expiry cycle, as long as restored data is cleaned again.

Prove that it works

Log what was deleted and when, without logging the personal data itself, and review the job’s results regularly. When a customer asks what happens to their data, you can answer with confidence.

This article is general information, not legal advice.

Written by the GloryTekSystems team

Our engineers and consultants write about what they see in real projects. Have a question about your own systems?

Ask us
GloryTek assistantQuick answers · automated

Hi, I’m the GloryTek assistant. Ask me about our services, pricing, timelines or industries.

Popular pages

↑↓ to move to open Esc to close