duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Cannot restore, runtime throws error


From: Yves Goergen
Subject: Re: [Duplicity-talk] Cannot restore, runtime throws error
Date: Mon, 13 Sep 2010 13:44:00 +0200
User-agent: Thunderbird 2.0.0.24 (Windows/20100228)

I now have another problem restoring the data. The main partition was
restored normally afaict. But the boot partition, mounted at /boot, was
not restored at all. In the first pass, the directory was just left
empty, logging the error "file exists" for "boot". When I retry with

duplicity ... --file-to-restore boot ... /mnt/boot

it gives me this output:

> NcFTP version is 3.2.1
> Local and Remote metadata are synchronized, no sync needed.
> Last full backup date: Wed Sep  8 23:11:21 2010
> Error '[Errno 16] Device or resource busy: '/mnt/boot'' processing .
> Error '[Errno 17] File exists' processing .

When I add the option --ignore-errors, it fails:

> Running in 'ignore errors' mode due to --ignore-errors; please re-consider if 
> this was not intended
> Traceback (most recent call last):
>   File "./duplicity", line 1239, in <module>
>     with_tempdir(main)
>   File "./duplicity", line 1232, in with_tempdir
>     fn()
>   File "./duplicity", line 1118, in main
>     action = commandline.ProcessCommandLine(sys.argv[1:])
>   File "/usr/lib/python2.5/site-packages/duplicity/commandline.py", line 881, 
> in ProcessCommandLine
>     args = parse_cmdline_options(cmdline_list)
>   File "/usr/lib/python2.5/site-packages/duplicity/commandline.py", line 455, 
> in parse_cmdline_options
>     (options, args) = parser.parse_args()
>   File "/usr/lib/python2.5/optparse.py", line 1385, in parse_args
>     stop = self._process_args(largs, rargs, values)
>   File "/usr/lib/python2.5/optparse.py", line 1425, in _process_args
>     self._process_long_opt(rargs, values)
>   File "/usr/lib/python2.5/optparse.py", line 1500, in _process_long_opt
>     option.process(opt, value, values, self)
>   File "/usr/lib/python2.5/optparse.py", line 782, in process
>     self.action, self.dest, opt, value, values, parser)
>   File "/usr/lib/python2.5/site-packages/duplicity/commandline.py", line 169, 
> in take_action
>     self, action, dest, opt, value, values, parser)
>   File "/usr/lib/python2.5/optparse.py", line 802, in take_action
>     self.callback(self, opt, value, parser, *args, **kwargs)
>   File "/usr/lib/python2.5/site-packages/duplicity/commandline.py", line 318, 
> in <lambda>
>     setattr(p.values, o.dest, True)))
> TypeError: attribute name must be string, not 'NoneType'

How can I restore my boot partition now?

The boot partition is already mounted to the correct path. duplicity
should just ignore that the directory already exists and go on restoring
its contents. duplicity will not be able to create that directory
because it is a mounted filesystem on a different partition.

I'm running duplicity 0.6.9 now.

-- 
Yves Goergen "LonelyPixel" <address@hidden>
Visit my web laboratory at http://beta.unclassified.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]