Dev Notes

Boring, reliable backups for a home NAS

October 14, 2026

A backup you have never restored is a hope, not a backup. My setup is intentionally dull.

The rule of three

Three copies, two kinds of media, one of them somewhere else. For me that is the NAS itself, an external disk that is only connected during the nightly run, and an encrypted copy at a remote location.

The nightly job

restic -r /mnt/backup/repo backup /srv/data \
  --exclude-caches --one-file-system
restic -r /mnt/backup/repo forget --keep-daily 7 \
  --keep-weekly 4 --keep-monthly 12 --prune

Test the restore

Once a quarter I restore a random directory to a temporary folder and compare checksums. It takes ten minutes and has already caught one silent misconfiguration.