8
rsync不断断开连接:管道断开
我rsync用来备份主目录。很长一段时间以来,它一直运行良好。这是我正在使用的命令: rsync \ -pavz \ --delete \ --exclude 'mnt/' \ --exclude '.cache/' \ --exclude 'Videos/' \ --exclude 'Music/' \ --exclude 'Documents/virtualbox' \ /home/"${USER}" "${server}":"${dir}" 2>> "${errorFile}" 但是,我将服务器切换到要备份的服务器,现在rsync启动并运行了几秒钟(最多几分钟),但是随后由于错误消息而停止 packet_write_wait: Connection to x.x.x.x: Broken pipe rsync: [sender] write error: Broken pipe (32) rsync error: unexplained error (code 255) at io.c(820) [sender=3.1.1] 由于它可以在其他服务器上运行,因此我怀疑问题可能是连接还是服务器本身。连接似乎稳定。我通过电缆连接,没有任何中断。我还尝试在备份时对服务器执行ping操作。即使备份中断,Ping的响应率也为100%。 …
14
ssh
networking
rsync
backup