Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Simple versioned backups with RsyncX' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Simple versioned backups with RsyncX
Authored by: rflo on May 24, '06 08:40:49AM

The author writes: "The rsync that comes with Mac OS X isn't HFS+-aware, though -- it won't copy resource forks." The rsync shipped with MacOS 10.4 is resource-aware: see the man page, especially the -E option.

Also, this hard-link scheme depends on having the backups and the original on the same file-system (hard-links do not work across file-systems), which is not a great idea for back-ups. A proper incremental backup tool, even the tar supplied with MacOS, would enable backups based on changes since the last backup, without depending on a dubious use of hard-links.

---
Ronald Florence



[ Reply to This | # ]
Simple versioned backups with RsyncX
Authored by: Syco on May 24, '06 09:18:51AM

I had the same reaction you did, but I think what he wants is something like this:

Main Drive:
/foo
/bar
/baz

Let's say before backup2, he changes foo.

Backup Drive:
/backup1
/backup1/foo
/backup1/bar
/backup1/baz
/backup2
/backup2/foo
/backup2/bar <--- this is hardlinked to /backup1/bar, because it's the same file, and this preserves the entire backup structure
/backup2/baz <--- same as above



[ Reply to This | # ]