I have been trying to sort out my backups, so that when files are restored the owners/groups and any other metadata are correctly restored. For my testing I have been backing up from a Ubuntu 9.10 server (with rsync version 3.0.6, protocol version 30 installed) via ssh, to either an OSX 10.6 laptop or Ubuntu 9.10 server.
Making the backup has been done using the following command (executed as root):
# rsync -avz --fake-super /var/www/myfolder email@example.com:/home/backups
No errors are reported when doing this.
I then use the following to fetch back my test directory:
# rsync -avz --fake-super firstname.lastname@example.org:/home/backups/myfolder /tmp
And for every file it reports the error:
rsync: failed to write xattr user.rsync.%stat for "/tmp/myfolder/path/to/file": Operation not supported (95)
Originally I thought this must be because I was backing up to OSX, so I tried again backing up to a Ubuntu server - only to get the same error when restoring files. I have Googled and looked in the manpage for rsync, but found nothing of help.
My local Ubuntu server uses ext3, the remote Ubuntu server ext4, and the Mac has HFS