I have a recurring problem whereby a scheduled backup will fail (output shown below) but as soon as I get the email confirmation that the failure has occurred (i.e. within 1 minute) I can go and run the backup manually and it always runs successfully. Has anyone seen this behavior, or have any ideas what the cause of the SSH failure would be?
Backup failed! See the progress output above for the reason why. Total backup time was 00 minutes, 00 seconds.
Virtual servers that failed :
irbpassport.com
passport.irbrugbyready.com
dev.irbpassport.com
passport.worldrugby.org
dev.passport.worldrugby.org
Sent by Virtualmin at: https://serverxxxxx.uk2net.com:10000
Failed to connect to SSH server : ssh_exchange_identification: Connection closed by remote host
lost connection
Deleting backups from /home/zbackupsfromirbpassportserver1/irbpassport.com/inc_%d-%m-%Y_%H-%M on SSH server irbpassportserver2.com older than 2 days ..
.. failed to list directory via SSH : ssh_exchange_identification: Connection closed by remote host
I’m getting this too on my scheduled backups to a remote server.
Uploading archive to SSH server secure.remoteserver.org …
… upload failed! ssh_exchange_identification: Connection closed by remote host
lost connection
Deleting backups from /backup/directoryname/%m-%d-%y on SSH server secure.remoteserver.org older than 7 days …
… failed to list directory via SSH : ssh_exchange_identification: Connection closed by remote host
Around the time that you’re getting the “Connection Lost” error – do you see any messages in the logfiles on the backup server that might explain why the connection is being lost? Some of the system logs may have some additional info about that.