[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] restore OSError: [Errno 84]
From: |
edgar . soldin |
Subject: |
Re: [Duplicity-talk] restore OSError: [Errno 84] |
Date: |
Sat, 21 Apr 2012 11:43:01 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 |
On 20.04.2012 22:08, Nate Eldredge wrote:
>
> Otherwise, for a temporary workaround, it shouldn't be too hard to find the
> place in the duplicity code where it opens the file, and either make it
> continue when an error occurs, or else hack it to modify the filename somehow
> to make it legal. If you were seriously considering making an LVM volume out
> of loopback devices then this should be a hack of much lower magnitude and
> well within your capabilities :)
the stack tells us where it happens.
path.py:setdata() tries to update the stat data (no clue what for on a restore?
in case the local file has different attributes than the backup'd?)
@Ken: any idea why?
there is already a routine that catches os exceptions as this operation is not
essential. so you could add your exception code there.
but i assume that the restore itself later will fail anyway, because the
filename was probably corrupted within duplicity's restoring pipeline.
from here you could
A) create a test backup that sows the symptom or give us access to the original
one to reproduce the issue and fix it
B) find out your self where in duplicity the filename gets corrupted
from my gut i suggest you to check the system charset settings (typically LANG
env var) but there are a bunch of others. they could advise python to convert
the filename internally which could have unexpected results, shouldn't but
could.
..ede/duply.net
Re: [Duplicity-talk] restore OSError: [Errno 84], T. Prost, 2012/04/22