Freeze when remote host has closed the connection (FTP backup)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned |
Bug Description
I use duplicity to backup a large amount of data to a FTP server (the one provided by my ISP, so I don't have any control over this server).
After a while, I've got an error because the remote host has closed the connection...
-------
/duplicity-
Error is:
Lost data connection to remote host after 12025856 bytes had been sent: Broken pipe.
Remote host has closed the connection.
ncftpput duplicity-
^C
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
full_
File "/usr/bin/
globals.
File "/usr/bin/
(tdp, dest_filename)))
File "/usr/lib/
return self.__
File "/usr/lib/
ret = fn(*params)
File "/usr/bin/
async_
File "/usr/bin/
backend.
File "/usr/lib/
self.
File "/usr/lib/
return self.subprocess
File "/usr/lib/
result, stdout, stderr = self._subproces
File "/usr/lib/
stdout, stderr = p.communicate()
File "/usr/lib/
return self._communica
File "/usr/lib/
stdout, stderr = self._communica
File "/usr/lib/
ready = poller.poll()
KeyboardInterrupt
-------
As you can see, I have to press control-C to exit the program.
Fortunately, my volsize is small enough (15Mb), so I just have to launch duplicity again, and it will resume the transfer almost where it was stopped.
So the question is : what can I do to automate this ? Or maybe, duplicity should not freeze at all in the first place...