Backups That Were Never Actually Completing

A 14-month-old backup job was logging success but writing zero bytes — discovered only when a recovery was attempted.

Overview

A daily backup job reported success every morning for 14 months while writing nothing, and a disk failure cost 6 days of data.

What happened

Every morning Slack said 'Backup completed successfully,' and no alert ever fired. Then the database host had a disk failure, and the team found the backup S3 bucket empty.

Looking back, the story ran in five steps.

  • Fourteen months earlier, a config change pointed the job's output at a bucket that had been deleted.
  • Every day after that, the PUT returned 404 and Slack still said success.
  • The database host had a disk failure.
  • The recovery attempt found the backup bucket empty.
  • The only fallback was the weekly RDS snapshot, which was 6 days old.

Key concepts

  • Backup verification
  • Dead man's switch
  • Restore drill

Interview questions

  • How do you design a backup monitoring system that actually validates backups are working?

Sign up free to read the full topic

More War Stories topics

Start free on Cariara · Coding problems · System design studio