Can Deja Dup work with DreamObjects?

Asked by Nigel J. Terry

I'd like to use Deja Dup with Dreamhost's DreamObjects. This service uses the S3 API and is known to work with Duplicity. I believe that Deja Dup uses Duplicity, so it seems like it should be possible, but I don't have a clue how to configure it.

Any idea?

Question information

Language:
English Edit question
Status:
Answered
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Terry (mterry) said :
#1

Right now you can't. It's hardcoded to use Amazon's servers. Sorry :(

Revision history for this message
Nigel J. Terry (nigelterry) said :
#2

OK, Thanks. If/when you add it, please let m,e know and I will test it

Revision history for this message
Kevin (3-kevin) said :
#3

Please count my vote for this, as well. There are many services that are compatible with the S3 API but that have lower costs or other features that users might want to use. Duplicity works fine with DreamObjects (We use it to back up over a TB of servers) and I'd like to roll this out on the desktops as well.

Revision history for this message
Kevin (3-kevin) said :
#4

If we edit common/BackendS3.vala line 29 and change to objects.dreamhost.com will Deja Dup then be pointed to and utilize the DreamObjects service? I'm basing this question off of a very quick grep of the source but it seems like it would work.

Revision history for this message
Michael Terry (mterry) said :
#5

Kevin, you would also need to edit the line that looks like:
    return "s3+http://%s/%s".printf(bucket, folder);
to be something like:
    return "s3://%s/%s/%s".printf(hostname, bucket, folder);

I'm doing that from memory, but check duplicity(1) for syntax.

Revision history for this message
Steve Spellman (spspellman) said :
#6

In version 34.0 I changed that to:
    return "s3://%s/%s/%s".printf(S3_SERVER, bucket, folder);
and I'm happily using my modified version of deja-dup!

It would be even more satisfying if I could have DreamObjects appear as just another choice from the dropdown menu of storage options without completely replacing Amazon S3. Could you let me know which files need to modified to create additional S3 storage options?

Can you help with this problem?

Provide an answer of your own, or ask Nigel J. Terry for more information if necessary.

To post a message you must log in.