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: Bill Case
Subject: Re: [Duplicity-talk] Restoring from Duplicity -- frustration.
Date: Sun, 16 Mar 2014 21:04:10 -0400

On Sun, 2014-03-16 at 20:40 -0400, Bill Case wrote:
> On Sun, 2014-03-16 at 23:51 +0000, Tom Johnson wrote:
> > Hi Bill,
> > 
> > 
> > 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
> > 
> > 
> > On Sun, Mar 16, 2014 at 11:19 PM, Bill Case <address@hidden>
> > wrote:
> 
> >         The particular files I want are :
> >         /home/bill/.local/share/gnote
> >         especially those saved after Mar 11, 2013
> >         
> >         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
> >         
> >         ]# duplicity --restore  -> "Command line error: Expected 2
> >         args, got 1"
> >         I don't understand what argument I am missing.
> >         
> >         I suppose I am asking either how to write the duplicity
> >         command because
> >         I have missed something simple.  OR, some other suggestions on
> >         how to
> >         extract those files I need by some other means.
> >         --
> >         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
> > 
> > 
> > _______________________________________________
> > Duplicity-talk mailing list
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 
> Thanks Tom;
> 
> Following your advice I got for my command 
> ~]# duplicity restore
> --file-to-restore 
> /run/media/wcase/LinuxBUb/bill19BU/home/bill/.local/share/gnote file:/// 
> /run/media/wcase/LinuxBUb/bill-20Restored/home/bill/.local/share/gnote
> 
> My return was: 
> Import of duplicity.backends.dpbxbackend Failed: No module named
> pkg_resources
> Local and Remote metadata are synchronized, no sync needed.
> Last full backup date: none
> GnuPG passphrase: 
> 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 1393, in main
>     restore(col_stats)
>   File "/bin/duplicity", line 687, in restore
>     restore_get_patched_rop_iter(col_stats)):
>   File "/bin/duplicity", line 709, in restore_get_patched_rop_iter
>     backup_chain = col_stats.get_backup_chain_at_time(time)
>   File "/usr/lib64/python2.7/site-packages/duplicity/collections.py",
> line 949, in get_backup_chain_at_time
>     raise CollectionsError("No backup chains found")
> CollectionsError: No backup chains found
> 
> For the GnuPG I used my root pw.  No password was assigned to this back
> up in the first place.
> 

Sorry, I found an error in my command 
"...file:/// /run/media/wcase" had an unwanted space.  I removed that
and now my error returns is "Command line error: Expected 2 args, got 1"
again

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




reply via email to

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