Skip to content
Commitpedia
Log in Join & edit

Backups you can actually restore

Set up backups for files and databases, schedule them, verify them, and prove a restore works.

Intermediate, 7 steps, about 4 hours

  1. The 3-2-1 backup rule, and why a backup you never restored is not a backup The one rule that prevents most disasters. Article CMP 0362
  2. What is a backup snapshot? Snapshots and backups are not the same thing. Article CMP 0308
  3. Schedule PostgreSQL and MySQL dumps with systemd timers Databases need their own dumps, on a timer. Article CMP 0364
  4. restic backup wrapper with tagging, retention and a weekly check One script for files, with retention you understand. Script CMP 0366
  5. verify-latest-backup: alert when the newest dump is too old or too small Know the same day when a backup silently stops. Script CMP 0367
  6. Restore drill: prove your backup works in 15 minutes The step most people skip. Do it once a month. Article CMP 0363
  7. Proxmox Backup Server: first setup and first restore Whole-machine backups if you run Proxmox. Article CMP 0365

Start with step 1