**rsync -avz -e ssh someuser@server1.example.com:/srv/www/htdocs/ /srv/www/htdocs/
**
Everything seemed to synchronize however I was concerned about the “rysnc error” below. Do I need to resolve this error before automating my rsync job?
sent 347546 bytes received 164724744 bytes 185787.61 bytes/sec
total size is 247429232 speedup is 1.50
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(151 [generator=3.0.4]
Thanks,
-Mike
Suse Linux Enterprise Server 11
Suse Linux Enterprise Server 10 - SP2
OpenSuse 11.1, KDE 4.1.3
OpenSuse 11.1, KDE 4.2
Did it not show you the actual file names that it had problems with? Are you running this as a cron job, or straight from a command prompt?
Another question: are you trying to copy from different OS’s? For example, is the Web server Microsoft IIS and you’re copying to OpenSuSE Linux? Does one have Access Control Lists or some other form of security? There are known issues with “translating” file attributes between different OS’s.
This is probably just an access/permissions issue, but you need to post more info otherwise.