https://bugzilla.samba.org/show_bug.cgi?id=5365

Summary: --backup and --xattrs are not compatible
Product: rsync
Version: 3.0.0
Platform: x86
OS/Version: Other
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: fauthier@free.fr
QAContact: rsync-qa@samba.org


system on both server :
os x server 10.4.11

rsync version is 3.0.1pre3 (no patch)

rsync syntaxe :
/usr/local/bin/rsync --rsync-path=/usr/local/bin/rsync -avW --acls --xattrs
--del --force --backup --backup-dir=/`date +%Y%m%d-%Hh%M` /Source
Server2:/Dest/

Sometimes I have this error :

Missing abbreviated xattr value, com.apple.ResourceFork, for
"/Volumes/Data/Sauvegardes/DESC1_VOL1/20080401-15h54/DESCMDL/BASE-Studio.DF1"
Missing abbreviated xattr value, com.apple.ResourceFork, for
"/Partages/DESC1_VOL1/DESCMDL/.BASE-Studio.DF1.nVN4cq"
rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32)
rsync: connection unexpectedly closed (737 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(635)
[sender=3.0.1pre3]

and sometimes this error :
No matching processes were found
Missing abbreviated xattr value, com.apple.ResourceFork, for
"/Volumes/Data/Sauvegardes/DESC1_VOL1/20080401-18h03/DESCMDL/BASE-Studio.DF1"
Missing abbreviated xattr value, com.apple.ResourceFork, for
"/Partages/DESC1_VOL1/DESCMDL/.BASE-Studio.DF1.UU9irt"

The resource forks are not copied ont the destination server in the directory
backup (incremental) (it's ok for the destination directory), but the script
continue.

With the xattr patch, this the same.
without --backup and --backup-dir, they are no problem

I think (a little ;-)) that the move (binary mv) between the destination
directory and the backup directory not preserve the metadata (contrary with the
binary MvMac or CpMac)
Thank you
F.A.


--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html