Course contentsShow
← System Design
Lesson 1406 of 1,91935. Backup and Disaster RecoveryFree lesson

Backup Retention Policies

Defining how long backups are kept based on compliance, operational needs, and storage costs.

Backup Retention Policies

You'll learn how to decide how long to keep backup copies based on business rules, legal requirements, and cost constraints.

What is a Backup Retention Policy?

A backup retention policy defines how long each backup is kept before it's deleted or archived. Not every backup needs to live forever—retaining too many backups wastes storage and money, while keeping too few risks losing critical recovery points when you need them.

Think of it like your email inbox: you might keep today's emails indefinitely, last week's for a month, and monthly summaries for years—but you don't keep every single email forever.

The Three Key Drivers

1. Compliance Requirements
Regulations (HIPAA, GDPR, SOX) often mandate minimum retention periods—sometimes 7 years or more. Your policy must satisfy these legal obligations first.

2. Operational Needs
How far back might you need to restore? If customers request data from 90 days ago, you need backups that old. Consider your change frequency and error detection time.

3. Storage Costs
Long-term storage is expensive. Full backups cost more than incremental ones. Moving older backups to cheaper cold storage tiers (from "Backup Storage Tiers") balances cost and access speed.

Typical Policy Structure

A common pattern uses the Grandfather-Father-Son (GFS) approach:

  • Daily backups (sons): Keep 7–14 days
  • Weekly backups (fathers): Keep 4–8 weeks
  • Monthly backups (grandfathers): Keep 12+ months
  • Yearly backups: Keep 3–7 years for compliance

This creates a retention pyramid: many recent backups, fewer older ones.

Practical Example

An e-commerce platform might retain:

  • Full backups weekly for 1 month
  • Incremental daily backups for 14 days
  • Monthly full backups for 2 years (compliance)
  • Then delete or archive to cold storage

Key Takeaway: A backup retention policy balances compliance mandates, recovery needs, and storage costs by defining tiered retention periods—keeping recent backups readily available while archiving or deleting older ones systematically.