Restoring from Duplicity -- frustration.
Patrick O'Callaghan
pocallaghan at gmail.com
Wed Mar 19 00:38:21 UTC 2014
On Tue, 2014-03-18 at 17:53 -0400, Bill Case wrote:
> On Mon, 2014-03-17 at 10:04 +0000, Patrick O'Callaghan wrote:
> > On Sun, 2014-03-16 at 17:56 -0400, Bill Case wrote:
> >
> > > I want to restore them to 1 of 2 files, it doesn't matter which :
> > >
> > > 1) /home/bill/.local/share/gnote or
> > > 2) /run/media/wcase/LinuxBUb/bill-20Restored
> > >
> > > For duplicity --restore -> "Command line error: Expected 2 args, got 1"
> > > I don't understand what argument I am missing.
> >
> > A glance at "man duplicity" would seem to indicate that the syntax is:
> >
> > duplicity restore [--file-to-restore <relpath>] [--time <time>] <url> <target_folder>
> >
> > Note "restore", not "--restore".
> >
> > poc
> >
> Thanks Patrick, I picked up on that error.
> But I will ask another question now that I have your attention
> I have double thought myself into a condition of not knowing what is up
> any more so I follow with some kind of moronic questions for
> reassurances sake.
>
> Formula is as follows -- eh?
> ]# duplicity restore --file-to-restore <realpath = A> <target_folder =
> B>
>
> B (the target) is the empty file where I want to put the newly uncondensed files so I can use them
>
> A ( the source) is where the archived
> <duplicity-full.20120205T194841Z.vol1.difftar.gz> are?
> For me that would be /run/media/wcase/LinuxBUb/bill19BU?
Sorry Bill but I don't use duplicity myself. I just checked the man page
and found what appeared to be an error.
What I would do is simply test it on a small tree and a local backup
file to see what happens. Apparently the backup file is in tar format so
you should be able to see its contents with 'tar tvf ...' or similar.
> Opps! just noticed something. I have a broken string of backup files I
> think.
>
> ]# duplicity list-current-files file://run/media/wcase/LinuxBUb/bill-19BU
> Import of duplicity.backends.dpbxbackend Failed: No module named pkg_resources
No idea. Since duplicity works with various plugins that might be where
the problem is, but I couldn't be more specific.
poc
More information about the users
mailing list