different rsync issues - "file has vanished"
http://discussions.apple.com/thread.jspa?threadID=484729
I'm having some different problems, I'm not super adept at the command line, more of a GUI fellow traditionally but I've been trying to do some scheduled server backups with CRON and scripts. I've been using ASR to back up the boot volume which is working great and I've been using rsync for the data partition because of the huge number of files and because I'm concerned as to what might happen if the system went down while ASR was underway. The partial approach seems much safer...
So on my test server, if I do:
rsync -aE -delete /Volumes/XserveData/ /Volumes/DataBack/
I get a bunch of "file has vanished" errors:
file has vanished: "/Volumes/XserveData/.Trashes/._501"
file has vanished: "/Volumes/XserveData/._.Trashes"
file has vanished: "/Volumes/XserveData/._Desktop DB"
file has vanished: "/Volumes/XserveData/._Desktop DF"
file has vanished: "/Volumes/XserveData/sharepoint/. .DSStore"
file has vanished: "/Volumes/XserveData/sharepoint/._enigmo2.dmg"
file has vanished: "/Volumes/XserveData/testa/. .DSStore"
file has vanished: "/Volumes/XserveData/testa/. Command_Line_v10.4_2ndEd.pdf"
file has vanished: "/Volumes/XserveData/testa/._The NATural.rtf"
rsync warning: some files vanished before they could be transferred (code 24) at /SourceCache/rsync/rsync-24/rsync/main.c(717)
What's up with this? It seems to be related to extended attributes because if I leave the -E flag off I don't get the errors. I do want to copy extended attributes though, especially since I am using ACL's. I also noticed that every file that has vanished is preceded by ._ which I don't understand. Does anyone know what that is? the ._ ???
I wonder, should I even be messing around with rsync? What about ditto or psync or anything else that can check two directories, copy the new stuff and delete the old stuff? What do you folks use?
Help!
The weirdest thing though is it seems to work. Files SEEM to get properly copied but I'm just not comfortable enough to rely on this as a solution for a production server unless someone can assure me these errors are trivial. I've tried doing it with the -v flag but it gives me just the same error and not much else that I can tell.
I'm in 10.4.6, these are HFS+ Journaled not case-sensitive volumes btw.
Dual 2.7 G5, Xserve, G4 Powerbook, many others Mac OS X (10.4.6)