Page 1 of 1
[SOLVED] how to restore a folder via duplicity
Posted: 05 Dec 2011, 15:09
by oliver
Dear forum,
I have successfully made a full backup via the b3 web interface to an external harddisc. Now I need to restore the folder video from the full backup but can´t do this with the web interface. Is there a "duplicity profi" around to tell me how to do ? The restore path shall be /home/storage/video.
Thanks a lot
Oliver
Re: how to restore a folder via duplicity
Posted: 06 Dec 2011, 03:12
by oliver
@Johannes: could you read my post already ? My question to the excito support is still open
Thanks a lot
Best regards
Oliver
Re: how to restore a folder via duplicity
Posted: 06 Dec 2011, 04:09
by johannes
Wow, easy, easy...

You need to give us at least 24 hours to answer support issues.
First, why can't you use the web interface?
And second, of course. You can find an easy-to-read duplicity guide here:
https://help.ubuntu.com/community/DuplicityBackupHowto
Re: how to restore a folder via duplicity
Posted: 06 Dec 2011, 05:34
by oliver
Yes because I know you are normally very fast
Of course I am looking to his guide already

but did not found the solution yet.
Why I cant use the web interface ? Well, as told in my support email I am using my B3 and decided to buy an additional bubba storage S1 to build an RAID-1 array. Creating an RAID-1 array means the disc of my B3 will be killed in order to create the RAID array

. So I did made a backup before to another external usb-disc. The backup was made with the web interface of my B3.
After creating my RAID array everything works fine and I wanted to restore my files from the backup. But due to killing of my former internal disc my backup job did lost, too

. I don´t see them in the web interface

. I can connect to my usb drive without problems, I see the duplicity backup files but I have no idea how to get my folder /home/storage/video get restored from my full backup

.
Every task I tried manuelly at shell was not successfull. Duplicity always ask for a "gnu passphrase" (I think because I did give a password within the backup task ???). Sounds every passphrase isnt correct because I am always get an error of "gnu key wrong".
So you know my situation now. Could you please help ?
Thanks in advance
Oliver
Re: how to restore a folder via duplicity
Posted: 06 Dec 2011, 05:47
by johannes
Hmm, if it says "gnu key wrong" I am sorry but I think that the key really is wrong. And without that key you cannot recover your data..
Re: how to restore a folder via duplicity
Posted: 06 Dec 2011, 08:09
by oliver
Ok. Lets clarify. Maybe I am doing something wrong
I am doing the following:
Code: Select all
duplicity --file-to-restore home/storage/video file:///home/storage/extern/<path to my samsung storage>/backup/fullbackup /home/storage/video
After a short time I will asked for a gnu key: In my point of view this shall be the same key which gave when I setup the backup task via B3 web interface. Right ?
Thanks again
Oliver
BTW: do I mean to install or configure something else ? Is there a difference to have the gnu key set by EXPORT PASSPHRASE=<gnu key> or give the key when asked ?
Re: how to restore a folder via duplicity
Posted: 06 Dec 2011, 10:22
by ryz
So what kind of encryption is used when doing backup from the web page. I hope it does not use gnupg with an public and private keys. If you do you should really stress that you have to have a backup of the private key because if you lose that your backup is toast.
If you do use public private key where is the private key stored?
Re: how to restore a folder via duplicity
Posted: 06 Dec 2011, 14:00
by oliver
@ryz: thanks for your comments. Hope Excito can clarify this.
@excito: please let me know what kind of backup is done when using the "backup" function of the web interface.
Thanks !
Best wishes
Oliver
Re: how to restore a folder via duplicity
Posted: 06 Dec 2011, 16:50
by johannes
@ryz, I double checked to make sure and we only use standard symmetric encryption so this can't be the issue
@oliver, yes, right, that key should be the key you entered in the web interface, correct
Re: how to restore a folder via duplicity
Posted: 06 Dec 2011, 17:23
by ryz
@oliver did you use none standard English tokens in your password? If so you might have problems with different encoding. The problem can of course also be that you just don't remember the correct password you used.
Re: how to restore a folder via duplicity
Posted: 07 Dec 2011, 07:01
by oliver
johannes wrote:@ryz, I double checked to make sure and we only use standard symmetric encryption so this can't be the issue
@oliver, yes, right, that key should be the key you entered in the web interface, correct
@Johannes: could you please quote the correct syntax to restore files ? I think my problems will come from mispelled or missing duplicity-syntax !
Thanks
Oliver
Re: how to restore a folder via duplicity
Posted: 13 Dec 2011, 04:37
by oliver
@Johannes
can you help ?
thanks a lot
Oliver