duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-talk] Configurable amazon s3 host - WAS: Fwd: Re: [Duplicity-


From: edgar . soldin
Subject: [Duplicity-talk] Configurable amazon s3 host - WAS: Fwd: Re: [Duplicity-team] [Question #150801]: BucketAlreadyOwnedByYou
Date: Sat, 20 Aug 2011 13:03:02 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110812 Thunderbird/6.0

Does anybody using S3 want to step up and tackle this? It' quite easy to 
implement. Also any offer doublechecking the change is apreciated.

ede/duply.net

-------- Original Message --------
Subject: Re: [Duplicity-team] [Question #150801]: BucketAlreadyOwnedByYou
Date: Thu, 11 Aug 2011 10:51:53 +0200
From: address@hidden
To: address@hidden
CC: address@hidden

as this is obviously official functionality this should be configurable. why 
don't we actually do not support to put these in the target url, maybe 
optionally?

..ede/duply.net

On 11.08.2011 10:36, Brandon Keszler wrote:
> Question #150801 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/150801
> 
> Brandon Keszler proposed the following answer:
> Max, I just came across this same issue this evening. I see the thread
> hasn't been updated in a while but wanted to post for anyone else that
> may be frustrated with this.
> 
> You can force duplicity to use the Northern California buckets (even existing 
> ones) by editing 'connection.py' in the python modules folder (for me: 
> /usr/lib/pymodules/python2.6/boto/s3). There are only two lines that need to 
> be changed (->) as follows:
> ---------------
> connection.py:91
> DefaultHost = 's3.amazonaws.com' -> DefaultHost = 's3-us-west-1.amazonaws.com'
> 
> connection.py:214
>  url = '%s://%s.s3.amazonaws.com/' % (http_method, bucket_name) -> url = 
> '%s://%s.s3-us-west-1.amazonaws.com/' % (http_method, bucket_name)
> ---------------
> If you need to use other regions (i.e. Tokyo), simply substitute with the 
> region specific endpoints per the AWS documentation
> http://aws.amazon.com/articles/3912#s3
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]