duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] Restore Question


From: Jon
Subject: [Duplicity-talk] Restore Question
Date: Mon, 08 Sep 2008 11:45:24 -0300
User-agent: Thunderbird 2.0.0.16 (X11/20080724)

Hello,

I have somehow lost the knowledge on how to perform a restore with Duplicity. I recall doing a test restore some weeks ago and after some moderate mucking about, I figured it out. Sadly, I did not document it and now it appears that I have become so old that I cannot recall what I did.

Duplicity status shows me (snipped);

Thu Jun  1 23:59:24 2006 Documents/personal/eht1
Tue May 23 08:42:30 2006 Documents/personal/me.asc
Fri Jun 16 10:36:30 2006 Documents/personal/secondcup
Sat Mar 22 10:10:24 2008 Documents/personal/signature.gif
Thu Jun 12 10:04:45 2008 Documents/personal/signpermit.pdf

I want to restore the personal directory to 07Sep08 and am attempting to do so as such:

duplicity scp://address@hidden/home/jdw/Documents/personal /home/jdw/Documents/personal/07sep08

Which follows the example on the man page:

duplicity scp://address@hidden/some_dir /home/me

Which is an attempt to restore the personal dir into the local 07sep08 dir. However, no manner of twisting the restore command will work for me. I receive:

Remote file or directory 'home/jdw/Documents/personal' does not exist
Running 'sftp  address@hidden' failed (attempt #1)
Traceback (most recent call last):
  File "/usr/bin/duplicity", line 463, in <module>
    with_tempdir(main)
  File "/usr/bin/duplicity", line 458, in with_tempdir
    fn()
  File "/usr/bin/duplicity", line 390, in main
    globals.archive_dir).set_values()
File "/usr/lib/python2.5/site-packages/duplicity/collections.py", line 476, in set_values
    backend_filename_list = self.backend.list()
File "/usr/lib/python2.5/site-packages/duplicity/backends.py", line 504, in list
    l = self.run_sftp_command(commandline, commands).split('\n')[1:]
File "/usr/lib/python2.5/site-packages/duplicity/backends.py", line 471, in run_sftp_command
    time.sleep(30)
KeyboardInterrupt

I presume that my problem is that I don't know where the backup tree starts and am therefore specifying it incorrectly, but I have tried /home/jdw/Documents/personal, /Documents/personal, and just /personal with no avail.

Can someone show me what I am missing?

Thanks,

Jon





reply via email to

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