Help with rsync errors to a afp mounted nas

Hi all.

I'm trying to run an rsync based backup from from my laptop to a (synology) nas but keeping geting some error messages. I have a DS409+, and my laptop is a macbook running 10.6.2 Snow Leopard. The nas is mounted on /Users/Shared/Nas using afp. Rysnc is version 3.06 on both machines and I have the same user created on both machines. The command I'm using is :

/usr/local/bin/rsync -aNHAXx --protect-args --fileflags --numeric-ids --force-change --log-file=$RSYNC_LOG /Users/Shared/Local/text/ /Users/Shared/Nas/archive/text


When I look at the log file I see chown errors along the lines of :

[1447] rsync: chown "/Users/Shared/Nas/archive/text/receipts/hotel" failed: Operation not permitted (1)


for every file. At the very bottom I get :

[1447] rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]


However, I lack the technical know how of how to get past this. Could anybody help, please?
Thanks

macbook, Mac OS X (10.6.2)

Posted on Mar 28, 2010 10:04 AM

Reply
3 replies

Mar 28, 2010 10:41 AM in response to shopperboy

When I man rsync or rsync --help or rsync --help | grep {option}, I do not see the -N, -A, -X, --force-change, --protect-args, or --file-flags options described therein. Could that be a cause for your error messages? Granted, I use Apple's OEM version 2.6.9 so maybe those options are new and specific to version 3.0.6.

Mar 28, 2010 1:44 PM in response to shopperboy

rsync --help shows the -E option as copying extended attributes. When I use rsync, I use rsync -vvSauWE --delete --progress --stats or rsync -vvSauWEe ssh --delete --progress --stats depending whether I'm going on a local disk or different machine. I need to issue the caveat that I'm all Mac, though, at home and at work.

In any event, you might want to man rsync and make sure that v3.0.6 supports these options that are in question, that you are trying to use now. Same for maybe the distant machine, too? Plus, you can check and see if my option set looks like it might work for you (you may want to forgo the -W whole-file copy, for instance).

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Help with rsync errors to a afp mounted nas

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.