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


Click here to return to the 'Fully automated backup of Flash drives on mount' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Fully automated backup of Flash drives on mount
Authored by: nvdingo on Mar 08, '07 08:09:43AM
The one change i would make to the scripts would be to NOT use the built in rsync.
the built in rsync in OS X (any version so far) is definitely the UNIX version of rsync.
rsync therefore knows nothing of resource and data forks.
You would be surprised at the number of files on your computer that still use them.
i was ended up with PDFs of file length zero until i figured it out.
Download RsyncX from some place like versiontracker.com or macupdate.com, and specify the path to the version of rsync that is installed by it.
usually /usr/local/bin/rsync
here is the output of rsync with HFS+ support

$ rsync --version
rsync version 2.6.0 protocol version 27
Copyright (C) 1996-2004 by Andrew Tridgell and others
HFS+ filesystem support for OSX (C)2004 Kevin A. Boyd
<http://rsync.samba.org/>;
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
IPv6, 32-bit system inums, 64-bit internal inums

rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.

this version of rsync supports another option '-eahfs'
that is ONE option, not 5. i am guessing it stands for Extended Attributes HFS, but whatever it stands for, it understands data/resource forked files.
Using it has made my life much much nicer.

[ Reply to This | # ]
Fully automated backup of Flash drives on mount
Authored by: neuralstatic on Mar 08, '07 08:38:57AM
i thought as of 10.4.6 or so, apple's rsync worked with resource forks?

see http://blog.plasticsfuture.org/2006/03/05/the-state-of-backup-and-cloning-tools-under-mac-os-x/

i'm not positive since i still use rsyncX myself.

[ Reply to This | # ]
Fully automated backup of Flash drives on mount
Authored by: nvdingo on Mar 08, '07 01:48:40PM

That's good to know.
But i still have Panther Servers that i have to manage, and 10.3.9 on my trusty old G3 ibook.
So, everyone reading this hint.
double check the man page for your rsync!
if it doesn't have the -E option, download RsyncX!



[ Reply to This | # ]