传输的命令如下
nohup rsync -vzrtopgP rsync_backup@xxx::mysql-data /home/xxx/data/mysqldata --password-file=/etc/rsync.password --inplace 2>&1 >/home/xx/data/xx.transferData.log &
今天使用rsync来传输数据传输了一般,就发现了这个报错
inflate returned -3 (0 bytes)
rsync error: error in rsync protocol data stream (code 12) at token.c(557) [receiver=3.1.0]
解决
查询了下面这个网站点我
看到了这样的内容
大致意思是不能使用压缩,很大的文件压缩出现了问题
过段修改命令 把 -z参数去掉
nohup rsync -vrtopgP rsync_backup@xxx::mysql-data /home/xxx/data/mysqldata --password-file=/etc/rsync.password --inplace 2>&1 >/home/xx/data/xx.transferData.log &
最终解决