In Part 7 of the Home Lab Series:
- The Rule: What is the "3-2-1" Backup Strategy?
- Level 1: Automating Proxmox VM Snapshots.
- Level 2: Using Duplicati for encrypted cloud storage.
- The Test: Why a backup isn't real until you restore it.
- RAID is Not Backup: Dispelling the biggest myth in IT.
You have spent hours configuring Jellyfin, tweaking Home Assistant, and organizing your dashboard. What happens if your SSD dies tomorrow? If you don't have a plan, you lose everything.
In the IT world, we have a saying: "Data that does not exist in two places does not exist at all." Today, we make your Home Lab bulletproof.
Data Hoarders Unite
Are you obsessed with preserving data? You are not alone. Search for the "Data Hoarder" or "Self-Hosted" interest tags on Great Meets to find others who understand the joy of a perfectly organized ZFS pool.
The 3-2-1 Rule
This is the gold standard for backups. Memorize it.
- 3 Copies of Data: Your live data + 2 backups.
- 2 Different Media Types: e.g., On your Server SSD + On an External USB Drive.
- 1 Offsite Copy: In the Cloud (or at your friend's house).
Level 1: Proxmox Snapshots (Local)
Since we are using Proxmox (from Part 2), backing up your entire server is incredibly easy. You can schedule it to happen while you sleep.
- Plug a large USB HDD into your server.
- In Proxmox, go to Datacenter -> Storage -> Add -> Directory. Select your USB drive and mark it for "VZDump/Backup".
- Go to Datacenter -> Backup -> Add.
- Schedule: Daily at 03:00.
- Selection: All VMs.
- Mode: Snapshot (This means the server stays on while backing up).
Now, if you accidentally delete your Home Assistant config, you can just click "Restore" and be back online in 5 minutes.
Confused by RAID vs. Backups?
It is a common mistake to think RAID protects your data. It doesn't. If you need help architecting a storage solution, search for a "SysAdmin" on Great Meets and ask for advice directly.
Level 2: Offsite Backup (The Cloud)
If your house burns down, your server and your USB backup drive both melt. You need data offsite.
We recommend using a Docker container called Duplicati. It encrypts your files before sending them to the cloud, so Google/Amazon/Backblaze cannot see what you are storing.
The Duplicati Stack
services:
duplicati:
image: lscr.io/linuxserver/duplicati:latest
container_name: duplicati
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
volumes:
- ./config:/config
- /path/to/important/data:/source
ports:
- 8200:8200
restart: unless-stopped
Once installed (http://[IP]:8200), point Duplicati to Backblaze B2 or Amazon S3 Glacier. It costs pennies per month for huge amounts of storage.
The Fire Drill: Test Your Restore
A backup is not a backup until you have successfully restored it.
This weekend, do a drill. Delete a non-critical file. Try to restore it using Duplicati. If it takes you 4 hours to figure out how to get the file back, your backup strategy failed. Better to fail now than during a real emergency.
Conclusion
You have now reached "Home Lab Nirvana." You have services running, remote access enabled, and a safety net if things go wrong.
Coming Up in Part 8: We will look at Home Automation Hardware (Zigbee & Z-Wave) to start connecting your physical world to your digital server.
Don't Keep It To Yourself
You have built something amazing. Why not show it off? Great Meets connects you with local people who share your interests. Search for "Home Server" or "Linux" tags and find a new friend to swap config files with.