simple-s3-backup
simple-s3-backup copied to clipboard
aws-s3 lib error
I'm using a bucket in S3(Northern California) when I run simple-s3-backup.rb get a error:
/usr/local/lib/ruby/gems/1.9.1/gems/aws-s3-0.6.2/lib/aws/s3/error.rb:38:in `raise': The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. (AWS::S3::PermanentRedirect) from /usr/local/lib/ruby/gems/1.9.1/gems/aws-s3-0.6.2/lib/aws/s3/base.rb:72:in `request' from /usr/local/lib/ruby/gems/1.9.1/gems/aws-s3-0.6.2/lib/aws/s3/base.rb:88:in `get' from /usr/local/lib/ruby/gems/1.9.1/gems/aws-s3-0.6.2/lib/aws/s3/bucket.rb:102:in `find' from simple-s3-backup.rb:19:in `'
I think that cause by the lib aws-s3,I search the issuse in google and found this :http://rubyforge.org/pipermail/amazon-s3-dev/2008-May.txt maybe use another lib to handle amazon S3.