Xsanity Sanity for Apple's Xsan and Final Cut Server.
  
Sunday, May 19 2013 @ 12:23 AM EDT
Topics
Storage (39)
People (1)
Xsan (103)
How To (26)
User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User
Who's Online
Guest Users: 9
Sponsorship

Xsanity is proudly sponsored by:

Tekserve
The Old Reliable Mac Shop

A small rsync problem

 
Post new topic   Reply to topic    Xsanity Forums Forum Index -> Replication, Backups, and Archiving
View previous topic :: View next topic  
Author Message
larspetter
RAID 5
RAID 5


Joined: 06 Sep 2005
Posts: 19

PostPosted: Tue Feb 10, 2009 10:38 am    Post subject: A small rsync problem Reply with quote

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.. Smile


Cheers
Back to top
View user's profile Send private message
matx
Xsan Master
Xsan Master


Joined: 15 Apr 2005
Posts: 378

PostPosted: Tue Feb 10, 2009 11:45 am    Post subject: Re: A small rsync problem Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Xsanity Forums Forum Index -> Replication, Backups, and Archiving All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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
Best Viewed on a Mac | Suggested Browser: Whatever floats yer boat.