duplicity falsely reports succeeded backup, empty manifest file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Confirmed
|
Medium
|
Unassigned | ||
duplicity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
duplicity version duplicity 0.6.09
Python 2.5.2
Distributor ID: Debian
Description: Debian GNU/Linux 5.0.6 (lenny)
Release: 5.0.6
Codename: lenny
==backup log snip==
ionice -c 3 nice -n 9 duplicity incremental --full-
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Thu Oct 28 01:13:25 2010
Last full backup is too old, forcing full backup
--------------[ Backup Statistics ]--------------
StartTime 1289607215.28 (Sat Nov 13 01:13:35 2010)
EndTime 1289636885.88 (Sat Nov 13 09:28:05 2010)
ElapsedTime 29670.59 (8 hours 14 minutes 30.59 seconds)
SourceFiles 1730868
SourceFileSize 106161258939 (98.9 GB)
NewFiles 1730868
NewFileSize 106161244989 (98.9 GB)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 1730868
RawDeltaSize 105419449446 (98.2 GB)
TotalDestinatio
Errors 0
-------
++ hostname --fqdn
+ ionice -c 3 nice -n 9 duplicity remove-
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Sat Nov 13 01:13:30 2010
Deleting backup set at time:
Thu Oct 28 01:13:25 2010
Deleting this file from backend:
duplicity-
==end snip==
This is the log from the backup that failed. Ihave conditional execution so backups aren't removed if duplicity fails. In this case there was no error, but I found an empty manifest file in the destination directory. Sorry, i don't use extra verbose output in my backup scripts.
All the restore scripts fail silently: they see the archive as empty, this could be the reason why duplicity reported success on exit?
(very annoying, i just had to restore a file, i'm trying to recover at least a part of it using simple gunzip and tar..)
I also have a verify step running every once in a while (it ran this time), but since duplicity thinks this archive is fine, it didn't report any failures. Verifying the archive otherwise is impossible since i can't know which files will change since the backup.