Today I check synchronization status of my backup files.There is three files are not synchronizing.I type the rsync command manually to see what happend.
rsync -vazu --password-file=/etc/my.pass rsy@192.168.1.130::db_backup /data/backup/
it shows these errors:
deflate on token returned 0 (12912 bytes left)
rsync error: error in rsync protocol data stream (code 12) at token.c(274)
rsync: connection unexpectedly closed (347 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(463) [receiver=2.6.8]
rsync: connection unexpectedly closed (327 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(463) [generator=2.6.8]
After some googles,I find that There is something wrong with the last file in local directory.
Then I delete the last file in local directory and run the rsync command again.It works.All files are synchronizing.
References:
http://www.linuxsir.org/bbs/showthread.php?t=201042