duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Restoring from Duplicity -- frustration.


From: Tom Johnson
Subject: Re: [Duplicity-talk] Restoring from Duplicity -- frustration.
Date: Wed, 19 Mar 2014 00:07:57 +0000

Hi,

You're still missing where you want to restore the files to – add that on the end of the restore path.

As for your other command, you're missing a slash – it's file:///

Try running this:

duplicity restore --file-to-restore .local/share/gnote file:///run/media/wcase/LinuxBUb/bill-19BU bill-19BURestored/

Tom

On 18 Mar 2014 22:41, "Bill Case" <address@hidden> wrote:
On Mon, 2014-03-17 at 02:02 +0000, Tom Johnson wrote:
>
>         > > From the man page:
>         > > duplicity [restore] [options] [--file-to-restore
>         <relpath>] [--time
>         > > time] source_url target_directory
>         > >
>         > > So for your purposes I would think the command is:
>         > > duplicity restore --file-to-restore
>         > > relative/path/to/home/bill/.local/share/gnote
>         > > file:///path/to/backup /home/bill/.local/share/gnote
>         > >
>         > > where relative/path/to/home/ is the path relative to the
>         original > > backup location.
>         > >
>         > > Let me know if you're confused.
>         > >
>         > >
>         > > Tom

/]# duplicity restore --file-to-restore
run/media/wcase/LinuxBUb/bill-19BU/home/bill/.local/share/gnote
file:////bill-19BURestored/*
Command line error: Expected 2 args, got 1

I have tried a multitude of versions with and without various
combinations of "/run" and "file:///" plus many others.  The sample here
is only the latest version.  On all I keep getting the same error
message.

when I run
/]# duplicity list-current-files
file://run/media/wcase/LinuxBUb/bill-19BU

I get as a return:
Import of duplicity.backends.dpbxbackend Failed: No module named
pkg_resources
Local and Remote metadata are synchronized, no sync needed.
Traceback (most recent call last):
  File "/bin/duplicity", line 1466, in <module>
    with_tempdir(main)
  File "/bin/duplicity", line 1459, in with_tempdir
    fn()
  File "/bin/duplicity", line 1341, in main
    globals.archive_dir).set_values()
  File "/usr/lib64/python2.7/site-packages/duplicity/collections.py",
line 693, in set_values
    self.get_backup_chains(partials + backend_filename_list)
  File "/usr/lib64/python2.7/site-packages/duplicity/collections.py",
line 816, in get_backup_chains
    map(add_to_sets, filename_list)
  File "/usr/lib64/python2.7/site-packages/duplicity/collections.py",
line 806, in add_to_sets
    if set.add_filename(filename):
  File "/usr/lib64/python2.7/site-packages/duplicity/collections.py",
line 97, in add_filename
    (self.volume_name_dict, filename)
AssertionError: {1: 'duplicity-full.20140311T153635Z.vol1.difftar' ....
62: 'duplicity-full.20140311T153635Z.vol62.difftar.gz'}  -- the list of
files I want restore.
--
Regards William Case,
Fedora 20, Gnome 3.10.1,
Evo 3.10.4, Emacs 24x.


_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk

reply via email to

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