Rsync error

cPanel, Industry leading hosting platform with world-class support.
Post Reply
ydnydn
Posts: 1
Joined: November 10th, 2023, 1:44 pm

Rsync error

Post 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?
JetAppsTrenton
Staff Member
Staff Member
Posts: 21
Joined: October 6th, 2023, 3:55 am

Re: Rsync error

Post 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
Post Reply