User Functions
Don't have an account yet? Sign up as a New User
Who's Online
Guest Users: 9
|
| View previous topic :: View next topic |
| Author |
Message |
larspetter RAID 5

Joined: 06 Sep 2005 Posts: 19
|
Posted: Tue Feb 10, 2009 10:38 am Post subject: A small rsync problem |
|
|
Hi!
Got a NAS I use for rsync´ing (cvcpsync does not work currently, crashed on it´s way).
Due to the setup of the nas I skip the user/group settings so that the nas (connected with AFP) fixes the default rights on the file for the nas user logged in.
So now I am trying to do following rsync: rsync -rltDvE --delete /SAN /NAS
That is, delete the files not on the NAS, keep extended attributes.
Doing the rsync seems to go OK. Then trying a new sync it deletes all the resource forks on the NAS (the .filename files) before starting copying the changes..
Any1 got a good idea why? It takes a while..500.000 files in that folder..
Cheers |
|
| Back to top |
|
 |
matx Xsan Master

Joined: 15 Apr 2005 Posts: 378
|
Posted: Tue Feb 10, 2009 11:45 am Post subject: Re: A small rsync problem |
|
|
| larspetter wrote: |
So now I am trying to do following rsync: rsync -rltDvE --delete /SAN /NAS
That is, delete the files not on the NAS, keep extended attributes.
Doing the rsync seems to go OK. Then trying a new sync it deletes all the resource forks on the NAS (the .filename files) before starting copying the changes..
|
It's a feature (not a bug!) of rsync pre-version 3. So you need to download and install v.3 or better.
Here's Mike Bombich's easy instructions for 3.0.5
http://www.bombich.com/mactips/rsync.html
Or if you don't have the dev tools a premade 3.0.3 pkg installer is here:
http://www.apple.com/downloads/macosx/unix_open_source/rsyncpackageinstaller.html
good luck
-x |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|