Duplicity not writing to a pre-existing S3 bucket

Posted by Saurabh Nanda on Server Fault See other posts from Server Fault or by Saurabh Nanda
Published on 2012-04-15T16:27:54Z Indexed on 2012/04/15 17:33 UTC
Read the original article Hit count: 534

Filed under:
|
|

I'm trying to backup a directory to a pre-existing Amazon S3 bucket using the following command:

duplicity --no-encryption system/ s3+http://MY_BUCKET_NAME/backup

However, I'm getting the following error consistently:

S3CreateError: S3CreateError: 409 Conflict
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>BucketAlreadyOwnedByYou</Code><Message>Your previous request to create the named bucket succeeded and you already own it.</Message><BucketName>vacationlabs</BucketName><RequestId>3C1B8C49469E3374</RequestId><HostId>4dU1TKf3Td6R0yvG9MaLKCYvQfwaCpdM8FUcv53aIOh0LeJ6wtVHHduPSTqjDwt0</HostId></Error>
  1. The S3 bucket is empty and does NOT have the backup directory
  2. The bucket is in Singapore region

© Server Fault or respective owner

Related posts about backup

Related posts about amazon-s3