Re: Restoring from Duplicity -- frustration.

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

 



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?

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
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', 
2: 'duplicity-full.20140311T153635Z.vol2.difftar.gz' .... 
62: 'duplicity-full.20140311T153635Z.vol62.difftar.gz'}, 
'duplicity-full.20140311T153635Z.vol1.difftar.gz')

I get that strange last return starting at vol1 again,

-- 
Regards William Case,
Fedora 20, Gnome 3.10.1,
Evo 3.10.4, Emacs 24x.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux