3-2-1 backups for a homelab, on a budget

The homelab hobby has a dark day everyone eventually meets: the day a drive dies, or a bad command runs, or ransomware finds a share — and the data is just gone. The thing that decides whether that day is a shrug or a catastrophe is whether you had real backups. Not RAID. Not “it’s on the NAS.” Backups. Here’s the rule, cheaply.

First, the myth: RAID is not a backup

RAID protects against a drive failing. It does nothing about the far more common ways you lose data: you delete the wrong thing, a sync propagates corruption, an app overwrites a file, a power event scrambles a volume, or malware encrypts everything. In all of those, RAID faithfully mirrors the disaster to every disk instantly. RAID is uptime insurance. Backups are data insurance. You need both, and if you can only have one, have backups.

The 3-2-1 rule

  • 3 copies of your data (the original + two backups),
  • on 2 different types of media/devices,
  • with 1 copy offsite.

That’s it. The magic is the layering: a house fire takes your NAS and the USB drive next to it, but not the offsite copy. A ransomware hit encrypts your live data and the always-connected backup, but not the one that’s offline or versioned offsite.

Doing it cheaply

Copy 1 — the original. Your live data on your server/NAS. This one’s free.

Copy 2 — local, different device. An external USB drive or a second machine, with a scheduled backup to it. Tools like restic or borg are free, do deduplication and encryption, and keep versioned snapshots (so you can restore yesterday’s file, not just the latest — which is what saves you from “the corruption got backed up too”). A single large external drive covers most home datasets for very little money.

Copy 3 — offsite. Two cheap ways:

  • Rotate a drive. A second external drive you keep at work, a friend’s, or a drawer elsewhere, and swap every week or two. Zero recurring cost.
  • Cloud object storage. restic/borg back up encrypted to inexpensive object-storage tiers for a few dollars a month. Because the data is encrypted before it leaves your house, the provider never sees your files.

Most homelabs land on: live data → nightly restic to a local USB drive → weekly restic to cheap cloud storage. Three copies, two media, one offsite, for the price of one drive plus pocket change a month.

The step everyone skips (and it’s the whole point)

Test a restore. A backup you’ve never restored from is a hope, not a backup — and the failure modes are brutal: a job that’s been silently erroring for months, an encryption passphrase you didn’t record, a snapshot that’s incomplete. Once a quarter, actually pull a file back from each copy and open it. The ten minutes this takes is the difference between “I have backups” and “I had backups.”

Automate it, then verify it

  • Schedule it (cron, a systemd timer) so it’s not a chore you forget.
  • Alert on failure — a backup that stops running silently is worse than none, because it feels safe. Have it shout when a job fails.
  • Keep versions. Transgressions like accidental deletion and corruption need history, not just the newest copy.

The short version

RAID keeps you online; backups keep your data. Follow 3-2-1 — three copies, two media, one offsite — with free tools like restic to a local drive and a bit of cheap cloud, automate it, alert on failure, and test a restore quarterly. It’s an afternoon to set up and the reason the bad day stays a shrug.