Mirroring OS X folders with Rsync

Adam Behn abehn at corp.myweather.net
Thu Jul 31 14:44:35 EST 2003


I am using HFS but the files are being zipped up using stuff-it(MAC
winzip/tar.gz) So forks aren't a problem since I don't need the metadata
from the forked file when it is from a stuffed/zipped file. Unfortunatly
the server in question is already online. It works most the time, but we
do have to kill rsync an awful lot. I will see if I can find a test
server to try UFS on. Maybe UFS will play better for some reason.

Thanks for all the good suggestions so far, any other suggestions are
welcome since it will be a couple of days before I can scrounge this
testbed together. And please don't say use linux... I've tried to tell
the owner that :)

hehe

Adam


-----Original Message-----
From:	Martin Langhoff
Sent:	Wed 7/30/2003 6:59 PM
To:	Adam Behn
Cc:	rsync at lists.samba.org
Subject:	Re: Mirroring OS X folders with Rsync
What filesystem are you using? If you are using HFS or HFS+ I suggest 
you give UFS a try because it all the filesystem semantics are what unix

tools expect. While I haven't seen your specific problem, I am sure 
there are quite a few situations where rsync and other unix tools will 
be confused on HFS.

Additionally, HFS and HFS+ store resource forks that rsync (and scp, 
amanda, tar, etc) won't see -- therefore your files are likely to be 
incomplete after being transferred with rsync or any other unix-level 
utility.

If you are using UFS, then the resource forks will be transferred ok, 
because MacOSX will store them as hidden files instead of resource forks

(or data streams, as they are known in the Win32 world).

regards,





martin

Adam Behn wrote:

>I'm just looking for some advice on a project I am currently working
on.
>
>I have two OS X servers and I am looking to use rsync to mirror data
between
>the two. I just love the fact that rsync only moves the data
incrementally.
>





-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3382 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20030730/ddf0dff2/attachment.bin


More information about the rsync mailing list