[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] restore a single Directory
From: |
Andre Dieball |
Subject: |
Re: [Duplicity-talk] restore a single Directory |
Date: |
Fri, 4 Sep 2009 23:56:30 +0200 |
Hi Ede
basically, this is what I tried ....
I did:
ftplicity mordac fetch var/www/Website/web/Films/ /root/backupWebsite/
30D --preview
which returns the following duplicity command:
/usr/bin/duplicity --verbosity 4 --encrypt-key 12345678 --sign-key
12345678 --gpg-options="" --restore-time 30D --file-to-restore var/
www/WebSite/web/Films/ ftp://address@hidden/mordac/ /root/
backupWebSite/
But runnign this via ftplicity returns the following:
address@hidden web]# ftplicity mordac fetch var/www/WebSite/web/Films/ /
root/backupWebSite/ 30D
Start ftplicity v1.4.2.1, time is 09/04/09 23:47:55.
Using profile '/etc/ftplicity/mordac'.
Using installed Attention: Could not interpret your duplicity version
string ((most
"/usr/bin/duplicity",
"/usr/bin/duplicity",
"/usr/bin/duplicity",
=
"/usr/lib64/python2.4/site-packages/duplicity/commandline.py",
=
"/usr/lib64/python2.4/site-packages/duplicity/commandline.py",
0
0.5.06)., gpg 1.4.5 (Home: ~/.gnupg)
Test - Encryption with key 12345678 (OK)
Test - Decryption with key 12345678 (OK)
Test - Compare Original w/ Decryption (OK)
Cleanup - Delete '/tmp/ftplicity.18003.1252100875_*'(OK)
--- Start running command FETCH (23:50:40.485) ---
Running duplicity - FAILED (code 30)
Output: NcFTP version is 3.2.2
Last full backup date: Tue Sep 1 03:00:02 2009
/var/www/WebSite/web/Films/ not found in archive, no files restored.
Traceback (most recent call last):
File "/usr/bin/duplicity", line 583, in ?
with_tempdir(main)
File "/usr/bin/duplicity", line 577, in with_tempdir
fn()
File "/usr/bin/duplicity", line 540, in main
restore(col_stats)
File "/usr/bin/duplicity", line 304, in restore
log.ErrorCode.restore_dir_not_found)
File "/usr/lib64/python2.4/site-packages/duplicity/log.py", line
164, in FatalError
sys.exit(code)
SystemExit: 19
--- Finished (23:51:00.698) - Runtime 00:00:20.213 ---
But that directory does exist:
address@hidden web]# ftplicity mordac list | grep Films
Thu Aug 27 13:34:39 2009 var/www/clients/client4/web3/web/Films
Wed Jul 1 19:04:07 2009 var/www/clients/client4/web3/web/Films/
Kind560x320.flv
Tue Jul 21 10:16:24 2009 var/www/clients/client4/web3/web/Films/
Kindergarten560x320.flv
address@hidden web]#
That is waht is confusing me :-)
BTW: I also tried without the leading slah for the restore directory
(as in the ftplicity manual) without any success
Thanks a lot in advance
Andre
Am 30.08.2009 um 19:38 schrieb address@hidden:
Basically I'm using ftplicity
Then why aren't you using the corresponding ftplicity command? In
recent versions this would be ...
ftplicity <profile> fetch /srcpath /trgpath [<age>]
... ede
ftplicity.sourceforge.net
_______________________________________________
Duplicity-talk mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/duplicity-talk
- Re: [Duplicity-talk] restore a single Directory,
Andre Dieball <=
- Re: [Duplicity-talk] restore a single Directory, edgar . soldin, 2009/09/05
- Re: [Duplicity-talk] restore a single Directory, Andre Dieball, 2009/09/05
- Re: [Duplicity-talk] restore a single Directory, Jacob Godserv, 2009/09/05
- Re: [Duplicity-talk] restore a single Directory, edgar . soldin, 2009/09/05
- Re: [Duplicity-talk] restore a single Directory, Andre Dieball, 2009/09/05
- Re: [Duplicity-talk] restore a single Directory, edgar . soldin, 2009/09/05
- Re: [Duplicity-talk] restore a single Directory, Andre Dieball, 2009/09/06
- Re: [Duplicity-talk] restore a single Directory, edgar . soldin, 2009/09/06
- Re: [Duplicity-talk] restore a single Directory, Andre Dieball, 2009/09/06
- Re: [Duplicity-talk] restore a single Directory, edgar . soldin, 2009/09/07