Hacker News new | ask | show | jobs
by linsomniac 2098 days ago
Getting an rsync wrapper to be robust takes some work. The wrapper script I use evolved over things I found while running it across ~200 hosts nightly for a couple years. It started as one of those hardlink scripts, but evolved into using zfs snapshots. My goal was to have it be the ultimate in reliability though, I wanted it to just work as much as possible, but be quiet unless the backup failed, at which point it should let me know.

15 years later, nightly backups across maybe 300 machines, this is what I have:

https://github.com/tummy-dot-com/tummy-backup/blob/master/sb...

1 comments

This is very elegant! Thank you for sharing. I look forward to studying it a bit deeper.