Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

[SOLVED] how to restore a folder via duplicity

Got problems with your B2 or B3? Share and get helped!
Post Reply
oliver

[SOLVED] how to restore a folder via duplicity

Post 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
Last edited by oliver on 03 Feb 2012, 08:43, edited 1 time in total.
oliver

Re: how to restore a folder via duplicity

Post by oliver »

@Johannes: could you read my post already ? My question to the excito support is still open :(

Thanks a lot

Best regards

Oliver
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: how to restore a folder via duplicity

Post 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
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
oliver

Re: how to restore a folder via duplicity

Post by oliver »

Yes because I know you are normally very fast :lol:
Of course I am looking to his guide already 8) 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 :shock: . 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 :cry: .

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
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: how to restore a folder via duplicity

Post 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..
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
oliver

Re: how to restore a folder via duplicity

Post by oliver »

Ok. Lets clarify. Maybe I am doing something wrong :roll:
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 ?
ryz
Posts: 183
Joined: 12 Feb 2009, 06:03

Re: how to restore a folder via duplicity

Post 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?
oliver

Re: how to restore a folder via duplicity

Post 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
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: how to restore a folder via duplicity

Post 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
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
ryz
Posts: 183
Joined: 12 Feb 2009, 06:03

Re: how to restore a folder via duplicity

Post 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.
oliver

Re: how to restore a folder via duplicity

Post 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
oliver

Re: how to restore a folder via duplicity

Post by oliver »

@Johannes
can you help ?

thanks a lot

Oliver
Post Reply