rsync batch update return errors
grathene at gmail.com
Wed Mar 14 22:28:51 MDT 2012
i use rsync batch mode for incremental update (on debian lenny, rsync
version is 3.0.9(compiled from source))
use the following command to generated batch file:
rsync -vogrtplk --write-batch=websites rsync://192.168.100.1/websites/
> rsync.log 2> error.log
it goes well without any errors. then i scp the batch file ( websites &
websites.sh) to another server and execute the following command:
sh websites.sh > rsync.log > error.log
the command finally return exit code 23~ the last line of the error.log is
rsync error: some files/attrs were not transferred (see previous errors)
(code 23) at main.c(1518) [generator=3.0.9]
but i compare the standard output log file, (write-batch & read-batch),
they almost the same except the rsync update speed , the files that
updated and the sized of total updated are all the same....
i'dont known why the error happend and how to solve it ?
any body have idea?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rsync