hi, guys
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/
/home/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?
thanks all
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.samba.org/pipermail/rsync/attachments/20120315/75f6ce2d/attachment.html>