Problems while transferring big files

Wayne Davison wayned at
Fri Mar 6 16:10:55 GMT 2009

On Fri, Mar 06, 2009 at 08:20:43AM +0100, Boniforti Flavio wrote:
> I'm using "rsync -rtz" to transfer over an SSH tunnel and
> I always get
> 12 Error in rsync protocol data stream

That is just the error code and its interpretation.  What error message
comes prior to that?

We hypothesize that there can be an accidental match in the checksum
data, which would cause the two sides to put different streams of data
into their gzip compression algorithm, and eventually get out of sync
and blow up.  If you have a repeatable case of a new file overwriting an
existing file that always fails, and if you can share the files, make
them available somehow (e.g. put them on a web server) and send the list
(or me) an email on how to grab them, and we can run some tests.

If the above is the cause of the error, running without -z should indeed
avoid the issue.


More information about the rsync mailing list