Michiel Piscaer

linux

TL;DR: I back up my homelab using Snapper snapshots, an external dual-bay dock, weekly disk rotation, encryption, and a Hue lamp that shows the backup status.


How I do my backup

On my homelab server, I’ve got a bunch of LXC containers running on a Btrfs filesystem. Snapper takes care of making hourly snapshots for me.

I wrote a little backup script that sends those snapshots to an ACT Dual Bay Docking Station—basically an external dock that can hold two hard drives.

Once a week, I swap out the disks and store the one I remove outside the house, just in case. Everything is encrypted, of course.

For fun (and convenience), the backup status gets sent to OpenHAB, which changes a Hue lamp in the living room so I can see at a glance whether everything’s working.

#homelab #backup #btrfs #lxc #snapper #openhab #selfhosted #linux #infosec