The Samba-Bugzilla – Bug 6038
failed: No such file or directory (2)
Last modified: 2010-03-17 02:43:34 UTC
Currently we are using rsync to backup our critical information to a hard drive connected to a remote computer. There are two main folders, one of them works and the other does not. When I try to rsync the second one I get the following errors.
rsync: recv generator: mkdir "/mnt/usb_hd/bigmama_bak/ccdevel/attachments/tickets/112" failed: No such file or directory (2)
rsync: stat "/mnt/usb_hd/bigmama_bak/ccdevel/attachments/tickets/112" failed: No such file or directory (2)
Rsync won't create ancestors of the destination directory; this may be what you're seeing. Please post your rsync command.
the command im using is
rsync -zavPot /critical/svn_trac/trac/ ssh firstname.lastname@example.org:/mnt/usb_hd/bigmama_bak
The problematic directory is inside the destination, so rsync should have been able to create it.
- Do you get any other error messages?
- What is the nearest ancestor of /mnt/usb_hd/bigmama_bak/ccdevel/attachments/tickets/112 that exists on the destination?
- Please strace the receiving end using the rsync-debug script from http://rsync.samba.org/issues.html and attach the output to this bug, or email it to Wayne or me if it is big or private.
Created attachment 4417 [details]
Patch to ignore "delete of stat xattr" failures on symlinks
(In reply to comment #4)
> Created an attachment (id=4417) [details]
> Patch to ignore "delete of stat xattr" failures on symlinks
Whoops, wrong bug. Sorry.
Closing due to lack of response. Feel free to open if you can provide the information requested in comment #3.