Page 1 of 1

Rsync error

Posted: November 10th, 2023, 1:47 pm
by ydnydn
Hello there, I've error on Jetbackup 5:

rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(231) [sender=3.2.7]


There is no problem in SSH communication with the remote server. And rsync is installed on both sides. What could I be missing?

Re: Rsync error

Posted: November 18th, 2023, 6:23 am
by JetAppsTrenton
Hello ydnydn,

Thank you for your patience! The rsync error that you have provided indicates the connection being suddenly closed by the remote SSH server.
If you have multiple servers backing up to the same destination at the same time, the incoming SSH connection limit may be too low in the SSH configuration. Once the number of connection attempts exceeds the MaxStartups setting, SSH will start rejecting/dropping connections, and this could be the cause of an intermittent failure.

You can try to increase the MaxStartups value in /etc/ssh/sshd_config on the remote destination which may resolve this error. (Default is 10)

We would also advise creating the ClientAliveInterval and ClientAliveCountMax values under /etc/ssh/sshd_config by making the following changes on both the source and destination servers. You can also try reducing the number of Concurrent Backup Forks in JB > Settings > Performance.

Best Regards,

Trenton V
JetApps, LLC.
JetApps.com | JetBackup.com