← Back to team overview

duplicity-team team mailing list archive

[Question #687560]: duplicity gets stuck on sftp connection loss

 

New question #687560 on Duplicity:
https://answers.launchpad.net/duplicity/+question/687560

My backups are failing randomly, about 5% as the internet connection is not reliable sometimes.

The problem is whenever this happens duplicity gets stuck.

Any idea why this is happening ? I would prefer if duplicity exits with an error code



Different log outputs same issue, backup does not get completed and runs forever.

Log1:
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: ...
Attempt 1 failed. EOFError: 
Attempt 2 failed. error: Socket is closed
Giving up after 3 attempts. error: Socket is closed
<duplicity wont do anything from here on>

Log2:
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: ...
ssh: Socket exception: Connection timed out (110) Attempt 1 failed. SSHException: Server connection dropped: 
Attempt 2 failed. error: Socket is closed Giving up after 3 attempts. error: Socket is closed
<duplicity wont do anything from here on>


-- 
You received this question notification because your team duplicity-team
is an answer contact for Duplicity.