On Fri, Apr 30, 2004 at 04:19:35PM -0400, Sean M. Kaiser wrote:
> [skaiser-pbg4:~] localska% /usr/local/bin/rsync --delete --backup
> --backup-dir=/Users/localskaiser/archive -a /Users/localskaiser/source
> /Users/localskaiser/target

This command works fine for me when used as you described.

> stat "/Users/localskaiser/archive/source/a/b/c/newfile.txt" failed: No
> such file or directory

I assume that message is coming from the code set_perms() code that is
trying to change the permissions on the newly-created backup file.  So,
something may have gone wrong during the creation of that backup file.
Check the permissions and such for the backup path (though it's weird
if rsync didn't display some other error before the stat one).

> [skaiser-pbg4:~] localska% /usr/local/bin/rsync --delete --backup
> --backup-dir=/Users/localskaiser/archive -a [EMAIL PROTECTED]::skaiser/current
> /Users/localskaiser/target

That command uses a different backup dir:  ".../archive/current" rather
than ".../archive/source".

..wayne..
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to