3 ms·
I use a Raspberry Pi as my backup orchestrator. It backs up my Linux desktop, my wife's Windows desktop, and a couple of other Linux based devices including its
by anotherevan 4y ago
I use a Raspberry Pi as my backup orchestrator. It backs up my Linux desktop, my wife's Windows desktop, and a couple of other Linux based devices including itself. Every night, it:
* Mounts the external drive.
* Starts Restic's Rest Server.
* SSH into each machine to be backed up to kick off the script that will backup to the above server.
* Stop Rest Server.
* Rsync the external drive to my office (which is a 25 minute drive away) for off-site protection.
* Unmount the external drive.
* Emails the results of it all to me.
Has been working really well so far.
Notes:
* The RPi has limited SSH access to each machine. The only thing it can really do is start the backup script on the machine.
* The Linux machines are on all the time, but the Windows machine sleeps. So first it sends a wake-on-lan. Using Cygwin for SSH and scripting on Windows. The script on the Windows machine sets the power configuration to not go to sleep during the backup, and restores the setting afterwards. Restic's ability to create a VSS snapshot on Windows is awesome.
* I still need to incorporate my two kid's Windows laptops into the backup somehow. I doubt the wake-on-lan tricks will work reliably with them. I've yet to explore Urbackup which I think I can use to have them backup to my Linux desktop periodically when they are awake.
- scubbo 4y ago+1 for Restic. I'm only just barely scratching the surface of its use, and it's still just amazing. Here's the article I referenced: https://www.seanh.cc/2022/04/03/restic https://www.seanh.cc/2022/04/03/restic, though it looks like you're doing a lot more wizardry than that!