hi, guys<div><br></div><div>i use rsync batch mode for incremental update (on debian lenny, rsync version is 3.0.9(compiled from source))</div><div><br></div><div>use the following command to generated batch file:</div><div>
<br></div><div>rsync -vogrtplk --write-batch=websites rsync://<a href="http://192.168.100.1/websites/">192.168.100.1/websites/</a><span class="Apple-tab-span" style="white-space:pre">       </span>/home/websites/ > rsync.log 2> error.log<br>
</div><div><br></div><div>it goes well without any errors. then i scp the batch file ( websites & websites.sh) to another server and execute the following command:</div><div><br></div><div>sh websites.sh > rsync.log > error.log</div>
<div><br></div><div>the command finally return exit code 23~ the last line of the error.log is </div><div><br></div><div>rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1518) [generator=3.0.9]<br>
</div><div><br></div><div><br></div><div>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....</div>
<div><br></div><div>i'dont known why the error happend and how to solve it ?</div><div><br></div><div>any body have idea?</div><div><br></div><div>thanks all</div><div><br></div><div><br></div>