duplicity gets stuck on sftp connection loss

Asked by Haro

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>

Question information

Language:
English Edit question
Status:
Expired
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Haro (h4r0) said :
#1

i will add a debug log next time it happens

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.