After failed transfers, ftps/lftp tries to remove '' on backend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned |
Bug Description
duplicity 0.6.19
Python 2.6.6
LFTP version is 4.0.6
Debian 6.0.5
After (apparently) connectivity problems, the local cache ends with .part files in it. When it happens, subsequent cleanup operation fails "forever" trying to remove file named '' (empty name) on the backend:
# duplicity cleanup --force $DEST
LFTP version is 4.0.6
Local and Remote metadata are synchronized, no sync needed.
Warning, found the following local orphaned signature files:
duplicity-
duplicity-
Warning, found the following orphaned backup file:
[duplicity-
Last full backup date: Sun Jun 3 06:25:24 2012
Deleting these files from backend:
duplicity-
duplicity-
Running 'lftp -c 'source /tmp/duplicity-
Error is:
Usage: rm [-r] [-f] files...
[...]
Giving up trying to execute 'lftp -c 'source /tmp/duplicity-
BackendException: Error running 'lftp -c 'source /tmp/duplicity-
Removing the *.part files from the local cache rectifies the problem.
This is one of possible reasons that make the duplicity to "remove" empty filenames.
So, bug #1104069 is a bit more "generic".