Time Machine-style Backups with rsync (2018)
by accrual on 2/2/2026, 12:00:07 AM
https://samuelhewitt.com/blog/2018-06-05-time-machine-style-backups-with-rsync
Comments
by: c0nsumer
Ha. That's a throwback.<p>I did the same thing, but with a more detailed writeup, in 2009: <a href="https://nuxx.net/blog/2009/12/06/time-machine-for-freebsd/" rel="nofollow">https://nuxx.net/blog/2009/12/06/time-machine-for-freebsd/</a><p>It was really handy, but I now use borg as it just works better.
2/2/2026, 2:53:28 AM
by: nightshift1
Seems similar to <a href="https://rsnapshot.org/" rel="nofollow">https://rsnapshot.org/</a>
2/2/2026, 1:18:40 AM
by: orev
The original post that introduced this idea into general public: <a href="http://www.mikerubel.org/computers/rsync_snapshots/" rel="nofollow">http://www.mikerubel.org/computers/rsync_snapshots/</a><p>I’m sure others will chime in that they used hard links like this before then, however as noted in that page, it’s the one that made it popular enough that rsync was updated to support the idea natively.
2/2/2026, 1:22:43 AM
by: nine_k
If we spoke about a Linux box, one that prudently ran ZFS, or XFS on top of LVM, it would be possible to make a snapshot before the diffing and sending, so that the snapshot would be indeed point-in-time. IDK if whatever macOS uses for the filesystem supports snapshots.<p>Otherwise, I think, restic or kopia are better for proper backups, and Syncthing for keeping a mirror copy. But the simplicity of this script in charming.
2/2/2026, 1:21:16 AM
by: hughc
I've been using a bash encapsulation of this for a long time, works great.<p><a href="https://github.com/laurent22/rsync-time-backup" rel="nofollow">https://github.com/laurent22/rsync-time-backup</a>
2/2/2026, 1:25:44 AM
by: mrtesthah
Isn’t restic better for backups overall?<p>Anyone have a good script for macOS triggered by launchd, ideally something that uses FSEvents to check for directory changes?
2/2/2026, 1:16:16 AM
by: EGreg
Why make hard links when you can use rsync or syncthing to just make an actual copy on an external hard drive eg via wifi or just remotely?
2/2/2026, 1:54:12 AM