restore another machine's backup

Asked by Paul on 2009-08-30

Is there a way to configure Deja Dup to restore files from a backup created by an instance of Duplicity running on another machine?

 I regularly backup up my headless server to S3 with Duplicity. Sometimes I would like to pull some or all files from that backup to my local desktop machine. This would be especially vital if the server died entirely and I needed to restore the backup to another machine.

When I try to configure Deja Dup to restore from my existing S3 backup, I get the message "Restore Failed: no backups to restore."

Is there a way to configure Deja Dup to do this? If not, may I suggest it as a feature request?

Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Last query:
2009-08-30
Last reply:
2011-07-13
Michael Terry (mterry) said : #1

Ah, I think I know why this is failing. When you use S3 with Deja Dup, it creates and assigns a bucket to use automatically. Something like "deja-dup-auto-ACCESSKEY". There's no UI for changing this...

However, if you run gconf-editor, navigate to apps/deja-dup/s3/bucket and change that, Deja Dup will respect your setting. It should work then. If you set the S3 Folder value to your bucket, thinking that was what it was asking, you may want to reset it to "/". The S3 Folder is the directory in your bucket that you want to store the files.

Make sense? I know it's not user friendly, but this wasn't a particular use case I had in mind.

Arthur Zennig (arthur-zennig) said : #2

Mr. Terry, I am also trying to backup the data in another computer, this time through ftp. I am getting the same message ( cannot restore because you dont have the .gpg key ).
I am running 11.04 ubuntu, and I am a little bit confused with the backup system of deja dup. What happens if my computer blows away? What files should I have somewhere secure so that I could get all files back from ftp?
Thx a lot!

Michael Terry (mterry) said : #3

Arthur, I don't think your question is related to the original poster's question. But I'll try to answer anyway:

If you can't restore due to a gpg problem, it's because (A) your backup is encrypted and you aren't entering the right password or (B) your backup is *not* encrypted but you told Deja Dup it was. Check your preferences to see whether DD thinks your backup is encrypted.

If your computer blows away, to get the files back again, you need to install Deja Dup on a different computer, point it at the files, and enter your encryption password (assuming you used one).

Can you help with this problem?

Provide an answer of your own, or ask Paul for more information if necessary.

To post a message you must log in.