[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Duplicity-talk] Invalid File Name
From: |
Damon Timm |
Subject: |
[Duplicity-talk] Invalid File Name |
Date: |
Wed, 21 Jan 2009 20:05:33 -0500 |
Hi -
I am new to duplicity and was just testing out my recent backups (so
this is just a "test problem" I get, and not a mission critical
problem - yet) ... anyway, I got this error and the restore aborted:
Traceback (most recent call last):
File "/usr/bin/duplicity", line 583, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 577, in with_tempdir
fn()
File "/usr/bin/duplicity", line 540, in main
restore(col_stats)
File "/usr/bin/duplicity", line 300, in restore
restore_get_patched_rop_iter(col_stats)):
File "/usr/lib/python2.5/site-packages/duplicity/patchdir.py", line
464, in Write_ROPaths
ITR(ropath.index, ropath)
File "/usr/lib/python2.5/site-packages/duplicity/lazy.py", line 299,
in __call__
last_branch.fast_process, args)
File "/usr/lib/python2.5/site-packages/duplicity/robust.py", line
36, in check_common_error
try: return function(*args)
File "/usr/lib/python2.5/site-packages/duplicity/patchdir.py", line
512, in fast_process
if ropath.exists(): ropath.copy(self.base_path.new_index(index))
File "/usr/lib/python2.5/site-packages/duplicity/path.py", line 404, in copy
other.writefileobj(self.open("rb"))
File "/usr/lib/python2.5/site-packages/duplicity/path.py", line 564,
in writefileobj
fout = self.open("wb")
File "/usr/lib/python2.5/site-packages/duplicity/path.py", line 506, in open
result = open(self.name, mode)
IOError: invalid filename:
/media/KINGSTON/duplicity-backup-1/damon/Documents/Finances/Taxes/2005/E-ZPass
10:2f21 to 11:2f20.pdf or mode: wb
I think this is because the file had a forward slash in the file name
... (hold over from some other OS, I think) ... seems maybe the ":2f"
is the way that linux is handling the forward slash (which is probably
illegal, I would guess) ... and duplicity is choking on that file ...
anyway, I am going to start searching for all of the miscreant files
and changing their names (and testing again), but I wanted to email
and see if this was expected from duplicity ...
Especially when I got the error trying to restore and not during
backup ... because, had I not checked, I would be sad. (Also, it
looks like my iPhoto library has a lot of these "forward slashes" in
the file name ... hmm, might not be as easy to fix as I thought.)
Just curious if this is expected ... running duplicity 0.5.06
Damon
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Duplicity-talk] Invalid File Name,
Damon Timm <=