"DiffDirException: Bad tarinfo name" on diff. backup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
Undecided
|
Unassigned |
Bug Description
After running for weeks without problems, differntial backup now fails reproducible with the following traceback (also included the last 5 lines of log-data):
---->8-
tarfile: Bad Checksum
Removing still remembered temporary file /tmp/duplicity-
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
incremental
File "/usr/bin/
bytes_written = dummy_backup(
File "/usr/bin/
while tarblock_
File "/usr/lib/
result = self.process(
File "/usr/lib/
for new_path, sig_path in collated:
File "/usr/lib/
relem2 = riter2.next()
File "/usr/lib/
refresh_
File "/usr/lib/
new_triple = get_triple(
File "/usr/lib/
path = path_iter_
File "/usr/lib/
raise DiffDirExceptio
DiffDirException: Bad tarinfo name .<email address hidden>
---->8-
(Note: I replaced mail and im IDs due to privacy concerns. If you need "real" data I can provide that via PM.)
To me it looks like duplicity is expecting some file named ".<email address hidden>
System-info:
duplicity 0.6.08
Ubuntu karmic
Python 2.6.4
Target filesystem is FTP
I've seen the same error after working for several days - without actually mentioning a specific file. Cleanup and purge didn't help (did not show any errors).
I increased the verbosity and in my case it turned out to be a file somewhere deep below the following path: cache/duplicity /7fdd4daf0969a5 12e2d6b6d043941 dbd/...
/root/.
Guessing that this directory is only needed as cache for speed up the backup-process I just deleted it and re-ran the backup. Now it worked again.
According to [1] it could be a problem related to very long path-file-names.
duplicity 0.6.08b
Ubuntu lucid
Python 2.6.5
Target system accessed by sFTP
[1] http:// blog.gmane. org/gmane. comp.sysutils. backup. duplicity. general/ month=20030801