Live data from Hacker News

Time-Machine-style backup with rsync

github.com

51–52 of 52 posts

Re: Time-Machine-style backup with rsync

#51
post #22

The key feature of Time Machine is hard links to directories -- which is only possible on modern HFS+ (and rsync doesn't even try). Some people like the UI too, of course. Without hard linked directories, a full --link-dest backup of a decent sized disk, with zero file changes from the previous pass, can easily consume 100MB (and take 45 minutes to perform). This disk consumption might seem insignificant, today, but…

The --link-dest option of rsync, used in this project, actually creates hard links.

...to files, but not to directories, which is the key point.

Re: Time-Machine-style backup with rsync

#52

Earlier quoted context omitted.

Could you please share how you did that in Automaton? I'd love to do that to my backups.

I found that just running an Automator script for the "new disk image from selection" command on the root of the drive worked perfectly-- set an iCal event to run that script once a day, and you're done. Be sure to test this to make sure it restores, but in my case it works flawlessly.

Thanks!
Post reply on HN