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

Differential Backups

Backing up changes since the last full backup; balances incremental efficiency with simpler recovery.

Differential Backups

You'll learn how differential backups strike a balance between full and incremental backup strategies for disaster recovery.

What is a Differential Backup?

A differential backup captures all changes made since the last full backup. Unlike incremental backups (which only save changes since the last backup of any type), differential backups always reference the original full backup as their baseline.

Think of it like editing a document: a full backup saves the entire document, incremental backups save each day's edits separately, but differential backups save all edits since the original document each time. Each differential backup grows larger than the last, but recovery remains straightforward.

How Differential Backups Work

Each differential backup contains everything that changed since the most recent full backup:

  • Day 0: Full backup (100GB)
  • Day 1: Differential backup (5GB changed)
  • Day 2: Differential backup (12GB changed since Day 0)
  • Day 3: Differential backup (18GB changed since Day 0)

Notice the differential backup size grows over time because it keeps accumulating all changes from the baseline.

The Sweet Spot

Differential backups offer a middle ground:

  • Faster than full backups: Only changed data is backed up
  • Simpler recovery than incrementals: You need just two backups to restore—the last full backup plus the last differential
  • Acceptable storage cost: More than incremental but manageable

When to Use

Common pattern: Weekly full backups with daily differentials. This limits recovery complexity while keeping backup times reasonable. If disaster strikes Thursday, restore Sunday's full backup, then Thursday's differential—done.

Key Takeaway: Differential backups balance efficiency and simplicity by capturing all changes since the last full backup, requiring only two backups for complete recovery while avoiding the complexity of multiple incremental restore chains.