Rsync Broken Pipe Error

My crontab -e

*/3 * * * * pgrep rsync > /dev/null || /root/rsync.sh

My /root/rsync.sh

#!/bin/bash
rsync -aruvP –inplace –exclude ‘*.part’ -e “ssh” root@205.185.121.211:/home/wwwroot/source/ /mnt/mirror1/backup/;

Previous Error when I added encryption using arcfour method

Write failed: Broken pipe

rsync: connection unexpectedly closed (3268 bytes received so far) [receiver]

rsync error: error in rsync protocol data stream (code 12) at io.c(601) [receiver=3.0.7]

rsync: writefd_unbuffered failed to write 4 bytes to socket [generator]: Broken pipe (32)

rsync error: unexplained error (code 255) at io.c(1530) [generator=3.0.7]


This entry was posted in linux administration. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>