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
- A Deployment That Could Not Be Rolled Back
- A Failed Migration That Left the Database in a Partial State
- A Feature Flag Change That Triggered a Production Outage
- Accidental DELETE Without a WHERE Clause in Production
- An IAM Misconfiguration That Let a Developer Become Admin
- AWS Credentials Committed to a Public GitHub Repository
- BGP Route Leak That Rerouted Traffic Through an Unexpected AS
- Blue-Green Deployment That Resulted in Split-Brain Sessions
- Cache Stampede on a Flash-Sale Product Page
- Connection Pool Exhaustion That Brought Down 12 Microservices
- DynamoDB Hot Partition That Throttled a Flash Sale
- Failover to a Lagging Replica Lost 4 Minutes of Orders
Start free on Cariara · Coding problems · System design studio