Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to set up an automated backup with duplicity on Amazon S3, but I keep getting a weird error that doesn't show up on Google searches.

machina:~# duplicity --version
duplicity 0.6.14

Here is the script I'm using:

#!/bin/bash

export AWS_ACCESS_KEY_ID=????
export AWS_SECRET_ACCESS_KEY=????
export PASSPHRASE=????

duplicity --encrypt-key=A36FFD9E --sign-key DA5D5B8B --s3-european-buckets --s3-use-new-style /source/folder/ s3+http://[bucket].s3.amazonaws.com

export AWS_ACCESS_KEY_ID=
export AWS_SECRET_ACCESS_KEY=
export PASSPHRASE=

...and the output:

machina:~# ./backup.sh 
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
No signatures found, switching to full backup.
Upload 's3+http://[bucket].s3.amazonaws.com/duplicity-full.20110910T164251Z.vol1.difftar.gpg' failed (attempt #1, reason: SSLError: The write operation timed out)
Upload 's3+http://[bucket].s3.amazonaws.com/duplicity-full.20110910T164251Z.vol1.difftar.gpg' failed (attempt #2, reason: SSLError: The write operation timed out)
Upload 's3+http://[bucket].s3.amazonaws.com/duplicity-full.20110910T164251Z.vol1.difftar.gpg' failed (attempt #3, reason: SSLError: The write operation timed out)
Upload 's3+http://[bucket].s3.amazonaws.com/duplicity-full.20110910T164251Z.vol1.difftar.gpg' failed (attempt #4, reason: SSLError: The write operation timed out)
Upload 's3+http://[bucket].s3.amazonaws.com/duplicity-full.20110910T164251Z.vol1.difftar.gpg' failed (attempt #5, reason: SSLError: The write operation timed out)
Giving up trying to upload s3+http://[bucket].s3.amazonaws.com/duplicity-full.20110910T164251Z.vol1.difftar.gpg after 5 attempts
BackendException: Error uploading s3+http://[bucket].s3.amazonaws.com/duplicity-full.20110910T164251Z.vol1.difftar.gpg

I've tried running the script multiple times, to no avail. Has anyone already encountered this?

share|improve this question
    
If the person who downvoted could be so king as to explain why..? – Executifs Sep 10 '11 at 18:31
    
Dunno why they downvoted you. I was going to suggest, though, that you post this in a duplicity-specific forum. Do they exist? – e40 Sep 10 '11 at 21:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.