Backing Up a Small Homelab: RAID Isn't a Backup, and a Backup Isn't Proven Until You Restore It
This page has affiliate links. If you buy through them I may earn a small commission, at no extra cost to you. Each product says whether I've used it, only researched it, or plan to buy it. More about this.
I haven’t had much first-hand experience of losing data, but I know how important backups are. I always at least try to get to a 3-2-1 plan, and to test it. These are the basics, but so many people ignore them.
3-2-1 in plain terms
If you’re new to this, 3-2-1 is the rule most backup advice comes back to. The photographer Peter Krogh made it popular around 2009, and it still holds up:
- 3 copies of anything you care about: the original and two backups.
- 2 different kinds of storage, so one kind of failure can’t take every copy. The server’s drives and a USB drive count as two; two folders on the same drive don’t.
- 1 copy somewhere else: another house, a safe deposit box, or a cloud service.
The numbers matter less than the idea behind them: the copies shouldn’t be able to fail together. Two copies inside the same computer count as one on the day that computer dies, gets stolen or gets hit by ransomware.
You’ll also see a newer version, 3-2-1-1-0. The extra 1 is a copy that’s offline or can’t be changed (ransomware can’t encrypt a drive that isn’t plugged in), and the 0 is zero errors when the backups are checked. My lab now meets all of it: the backups on the server, an offline drive in a fire-rated safe, and an encrypted copy in the cloud, all checked on a schedule. It got there in layers, each one added when I saw what the layer before couldn’t protect against.
Layer 1: a mirror of two old hard drives
The first step was storage for backups at all. My Proxmox server, an old HP Omen desktop, got two 1 TB hard drives in a RAID-1 mirror: everything written to one is written to the other, so one drive can die without losing anything. (The Omen only had three SATA ports, which is how I ended up adding a PCIe SATA card.)
A mirror feels like safety, but it only protects against one thing: a single drive failing. Both drives sit in the same case, on the same power supply, on the same UPS, in the same room. Delete a file and it’s deleted on both. Ransomware encrypts both. A power surge or a fire takes both. RAID keeps the server running; it isn’t a backup.
Layer 2: Proxmox Backup Server
The mirror became the storage for Proxmox Backup Server, which runs in its own small container on the same machine. It takes a snapshot of every container and virtual machine: Pi-hole, Home Assistant, my monitoring and the rest. At first that was once a week, early on Saturday morning. In November I moved it to every night, so the most I can lose is a day instead of a week. It keeps the last seven, plus one a week for four weeks and one a month for three months. Since November the backups are also encrypted before they’re stored, which matters once copies start leaving the house.
Two things make it better than copying files. It stores each piece of data only once across all the backups, so months of snapshots take little space: my backups use only a small slice of the mirror. And because each snapshot is taken from one frozen instant, a database inside a container is captured in a consistent state, the same as if the power had been cut, which databases are built to recover from.
A weekly verify job reads new backups back to catch silent corruption, and re-checks each older one at least once a month, and a failed backup or verify sends an alert to my phone. A backup that fails quietly is the worst kind.
Layer 3: an encrypted drive that stays unplugged
Everything so far still lived on the network, in the same machine as what it protected. If something got into the lab, or a bad update went very wrong, the backups would be within reach too.
So in October 2026 I added an offline copy: a 3 TB Silicon Power USB drive with an encrypted partition just for backups. I plug it in, unlock it, have Proxmox Backup Server copy the new snapshots across, verify them, and unplug it again. It’s quick: about an hour, often less. The rest of the time it sits in a fire-rated safe, where nothing on the network can touch it, and where it has a better chance than the server if the house burns.
I do it every month, and I’ve kept that up. I also do one straight away after any major change to the lab, so the offline copy is never far behind the way things are now. If a month goes by without one, my monitoring tells me.
Layer 4: the machines themselves
Proxmox Backup Server backs up the containers and virtual machines, not the computers they run on. If the Omen’s boot drive died, I’d have every container but none of the server’s own settings: its network setup, firewall, scheduled jobs and scripts. The same goes for the Acer that runs my backup Pi-hole.
So both machines now back up their own configuration every night into Proxmox Backup Server, alongside everything else.
Layer 5: a copy outside the house
The offline drive covers ransomware and bad updates, but not the house itself. A fire, a flood or a break-in could take the server and everything near it.
So in November I added an off-site copy in Backblaze B2, a cloud storage service. Every night, after the backups run, Proxmox Backup Server sends the new snapshots there. They’re encrypted before they leave the house, so Backblaze only ever holds data it can’t read. And the lab can’t permanently delete anything there: when an old backup is removed, Backblaze keeps it for another 30 days, which is my window to notice if something has gone wrong in the lab before the off-site copy goes with it.
There’s more to the Backblaze setup than fits here, from what it costs to the limits I set so a mistake can’t run up a bill. I’ll write it up in its own post.
Proving it: restore tests
For a long time, “I have backups” meant “the backup jobs say they succeeded”. That isn’t the same as being able to restore. So I’ve tested restores from each layer, in a few different ways:
- From the offline drive, the day of the first copy in October: a whole container restored under a new ID, without starting it. It took under a minute. The restored files matched the live container, apart from what had changed since the snapshot, and the database inside opened cleanly.
- From the server’s own backups, in November: the databases inside the backups, from my monitoring, the reverse proxy and Pi-hole’s blocklists, each pulled out of a snapshot and checked. All of them came back intact, including one caught in the middle of a write, which is exactly the case people worry about. The two machines’ own configuration backups were restored too, and every file matched.
- From Backblaze, in November: my Home Assistant virtual machine, pulled back down from the cloud copy and started with its network unplugged, so it couldn’t clash with the real one. The 32 GB restore took about five and a half minutes, and Home Assistant was up about three minutes after that. The whole test took about 35 minutes.
Checks like these are tedious, which is why so many people skip them. This is where using Claude as my homelab worker helps: I can set Claude on a task like this and get the tedious parts done. I like that.
Testing your own
You don’t need a lab like mine to test a backup. The idea is to do, on a quiet day, what you’d have to do on a bad one:
- Restore a single file to a different folder and open it. Not just “it’s there”: open it, and check it’s the version you expected.
- Restore a whole container or virtual machine under a new ID and start it. Keep the original off, or the copy off the network, so the two don’t fight over the same address. Then check the service inside actually works, not only that it boots.
- For anything with a database, check the database too. A file can copy perfectly and still hold a database that won’t open.
- Time a full restore. How long it takes is the number you’ll care about when something is down.
- Write the restore steps down somewhere you can read them with the lab off. Instructions that only live on the server you’re restoring don’t help. Mine are in my lab notes, which I can still read when the lab is down.
- Test again after big changes: a new server, a new backup tool, a new disk. A restore that worked last year proves less than you’d think.
What most people miss
Most backup failures aren’t exotic. They come from the same handful of gaps:
- Treating RAID as a backup. It protects against one drive dying and nothing else (layer 1).
- Treating sync as a backup. Dropbox, OneDrive and Google Drive copy your changes everywhere, including deletions and files ransomware has encrypted. Some keep old versions for a while, which helps, but it isn’t the same as a copy nobody can touch.
- Backups that fail without telling anyone. A job that stopped months ago, and nobody noticed until a restore was needed. Every backup job should alert on failure; mine do.
- Never testing a restore. Until you’ve restored something, you have backup files, not backups.
- Backing up the data but not the setup. The files are safe, but rebuilding the machine that used them takes a weekend (layer 4).
- Keeping the backup drive plugged in all the time. Anything that can reach the computer can reach the drive (layer 3).
- Losing the key. An encrypted backup is useless without its password or key, so keep that somewhere that isn’t inside the backup or on the machine being backed up. A password manager works.
- Keeping too little history. If you only keep a week of backups and notice a problem after a month, every copy has the problem too.
- Never getting the off-site copy done. It’s the hardest part to set up, so it’s the part that waits. Mine was the last layer I added (layer 5).
What’s next
The pieces are all there now. What I’d still like is to make the restore tests a routine on a calendar, rather than something I do when I’ve changed something, and to walk through rebuilding a whole machine from nothing, end to end, at least once.