Lesson 1 of 9 · 22m
Backups Are Restore Systems, Not Copy Jobs
Adopt the operator's mental model: a backup has value only when the right data can be restored to the right place within the promised time.
The worst backup system I inherited had beautiful dashboards. Every night: green. Every week: a report nobody read. Then a database volume died and we learned the jobs had been backing up a mount point after the database silently unmounted. We did not have backups; we had successful copies of the wrong thing. A backup is not a job state. It is a future restore capability.
Start with the failure, not the tool
Write down what you are actually trying to survive:
single disk failure replace hardware, resync or restore
host loss rebuild machine, restore service data
database corruption point-in-time recovery before corruption
ransomware clean offline/immutable copy and rebuild
accidental deletion fast item-level restore
region/provider loss independent copy in another failure domain
credential compromise backup control plane survives separate auth
operator error deletion protection, approvals, immutable retentionNotice what is missing: 'the backup software is installed.' Tool choice comes after the failure matrix. If the tool cannot survive the failures you care about, its features are decoration.
Define the unit of recovery
Operators usually back up files because files are visible. Users need services back. Define recovery units in business terms:
recovery_units:
customer_database:
includes: [postgres-data, wal-archive, encryption-key-reference]
excludes: [rebuildable-index-cache]
owner: platform-team
billing_service:
includes: [customer_database, object-store-prefix, deploy-secret-version]
owner: billing-teamThis forces awkward questions early. Does restoring the database without the object store produce a corrupt application state? Are secrets needed? Which DNS records, queue contents, or cryptographic keys make the service meaningful again?
Capture source truth before copying
A backup inventory should say where authoritative data lives, how it changes, and what consistency means. A running PostgreSQL data directory is not the same thing as a logical database. A snapshot of a write-heavy filesystem is not automatically application-consistent. A configuration repository may be authoritative for infrastructure but not for customer state.
Treat deletion as a normal event
Backups are most often used for boring mistakes: dropped tables, overwritten files, bad migrations, and fat-fingered admin actions. Design for fast partial recovery, not only full disaster. If restoring one row requires rebuilding a four-terabyte server, your design will fail the common case while looking impressive in the disaster deck.
The first question every design must answer
Ask: 'Show me the last time this exact recovery unit was restored, where it was restored, who did it, and how long it took.' If the answer is a ticket saying 'backup successful,' you do not yet know whether you have a backup.
Field notes
- A copied data directory is not proof of restorability; consistency and dependencies decide that.
- The backup owner and service owner must agree on what is inside the recovery unit.
- Include recovery credentials and key custody in the design, or the cleanest backup becomes inaccessible debris.
- Never let the same control plane be the only place where backup inventory, restore instructions, and credentials live.
- 'We replicate' answers availability, not corruption or deletion; replicas faithfully copy mistakes too.
Was this lesson helpful?