|
|
A detailed walkthrough on creating backups using rsync
MAKE SURE YOU HAVE THE RIGHT VERSION OF RSYNC.
OS X comes with rsync preinstalled, but the version it has is most likely 2.5.2, which does not support HFS+ resource forks. If you use that version, any files with resource forks will be corrupted. A version updated by Kevin Boyd has HFS+ support included. This version is 2.5.5 protocol version 26. It is available as part of the installation of RsyncX, which you can find at MacOSXLabs.org. You can install the tools and use them from the command line if you don't want to use the Aqua RsyncX client. Check the rsync version before you use it. Use this command:
The version notice will say if it supports HFS+. Otherwise, this tool is great. I use it daily for backups and sync'ing between my G4 desktop and iBook.
A detailed walkthrough on creating backups using rsync
FWIW, Panther uses rsync version 2.5.6 protocol version 26.
A detailed walkthrough on creating backups using rsync
I just learned that. Yes, Panther installs rsync 2.5.6. Unfortunately this version also does not support HFS+! If you try copying a file with a resource fork using this version, you will lose the resource fork, corrupting the file. Try it with a text clipping.
Despite the newer version on Panther, you need to install the patched rsync 2.5.5 distribution that has support for HFS+.
A detailed walkthrough on creating backups using rsync
Also - I don't believe the version installed by Fink is HFS+ aware.
A detailed walkthrough on creating backups using rsync
I really like the script posted above and the info at mikerubel is also excellent. I will be implementing these strategies on my Linux server... but this is MacOSXHints. I am not so sure that these scripts have much value in OS X unless you are SURE that everything you are backing up is w/o resource forks. I mean you may be able to get a rsync HFS+ running with these scripts, but the cp command is still gonna kill you and strip any resource forks. Is there something that could be substituted with the same functionality as cp (hard-links, etc) in these scripts along with an HFS+ aware rsync to make these scripts completely OS X safe?
A detailed walkthrough on creating backups using rsync
FWI(also)W
10.3.2 (build 7D24) uses rsync version 2.5.7 protocol version 26... ;-) TvE
A detailed walkthrough on creating backups using rsync
The man page for CP doesn't include the -l option for links. A man page for CP I found on the internet describes the option. Any instability issues if I use a feature of CP that is not documented in the man pages on my computer?
A detailed walkthrough on creating backups using rsync
I have been using the above scripts on my linux server for about 2 weeks now and it is PERFECT! Just wish I could use it reliably and retain resource forks on Mac. Anyone have any hints on getting this to work with resource forks? |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.16 seconds |
|