Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: quayph on June 29, 2015, 11:36:29 AM
-
Hi all,
I back up remote servers using Affa3 on SME9 and Affa2 on sme8. I'm often getting "Rsync failed with error code 255" in the affa logs.
I think that this error message is caused by the ssh connection failing during the transfer. Can anyone confirm this?
If I understand correctly, the backup server is the ssh client and the remote (to be backed up) server is the sshd server.
I have tried adding ServerAliveInterval 30 to /etc/ssh/ssh_config on the backup server.
Unfortunately this does not seem to make much difference.
Does Affa take ssh_config into account ? I have seen that there was an option _sshOpts in Affa2, but it is not present in Affa3
Maybe there are changes to try in sshd_config on the remote server? Any other ideas?
Thanks,
Keith
-
I think you should examine your connections on a lower routing level. How stable is the connection based on IP only?
-
How can I do that?
Should I try pinging the remote server continually for an hour or two and look for timeouts, or are you thinking of something else?
I did'nt mention, but the backups are quite large (about 100 Gb)
EDIT..........
Damn, the router doesn't respond to pings! I'll have to contact a coworker to change the settings.
-
ping an leave it running for at least a few hours
screen
ping 1.1.1.1 > pinglog
where 1.1.1.1 is your remote server to be backed up
-
Damn, the router doesn't respond to pings! I'll have to contact a coworker to change the settings.
Thanks for your help, but this will probably have to wait untill tomorrow.