← All posts

Backups you've actually tested

10 May 2024 · 1 min read
#operations#backup

A backup you've never restored is a hope, not a backup.

The checklist I use for anything I care about:

  • 3-2-1. Three copies, on two different kinds of storage, with one off-site.
  • Automate it. Backups that depend on someone remembering will stop.
  • Alert when it fails. A silent failed backup is worse than no backup, because you think you're safe.
  • Encrypt it. A backup holds everything an attacker wants, in one place.
  • Keep some copies you can't delete (immutable or versioned storage), so ransomware or a mistake can't wipe them too.
  • Restore regularly. Pick a date, restore to a test machine, and check the data is really there. Time how long it takes.

That last point matters most. The restore test is where you find out the backup missed a folder, or that the restore takes six hours instead of thirty minutes.

T
Written by Teza Wynn Htut

Cloud and infrastructure engineer in Auckland. I write down the fixes and lessons from things I build, and make tutorial videos on YouTube.

Watch on YouTube