RSYNC to remote server, issues
I rsync some files to a remote server weekly and the size is big (at least 50gb). When I do it via terminal, I do not get cryptic error messages but when it runs on cron, issues arise. Both IPs are on the allowed list of CSF.
Here are some of the messages:
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(600) [sender=3.0.6]
Read from remote host [email protected]: Connection reset by peer
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
rsync: connection unexpectedly closed (58587 bytes received so far) [sender]
rsync: connection unexpectedly closed (224 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
I get these messages via e-mail within the first 40 mins and after a few hours. Any advise on this please?
I'm searching some solutions on Google as I write this, I hope you can provide your feedback too.