New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global S3 configuration #291
Comments
Have you added it like this into the config.rb file? Backup::Configuration::Storage::S3.defaults do |s3|
s3.access_key_id = "123"
s3.secret_access_key = "123"
end I have it in my config.rb and it works fine for me. |
Yes. When I run the model it says that the aws access key and secret are missing. On 06/03/2012, at 7:44 AM, Dean Perry wrote:
|
How are you triggering the backup because it sounds as though you're running it a different way? Also, what version of fog do you have? |
I'm having the same problem with backup 3.0.23, fog 1.1.2 and parallel 0.5.16 on ruby 1.9.3p125. Setting the AWS credentials in config.rb doesn't work, but it works fine in my backup model. |
Would you be able to post it in a gist/create a github repo and post the link here? Without any of the credentials of course :) |
Sure, there you go: https://github.com/webmat/backup_issue_291 |
Thanks for looking into it :-) |
Hmm how odd. I have added the AWS_KEY and AWS_SECRET to my own backup config files (config.rb) and it works straight away on my server. Now to see why it doesn't work on yours... |
It looks like it's an issue with Syncers. It worked fine for sending files to S3 You can see the new backup config I just created here - https://gist.github.com/2050134 |
same issue with deanperry.How to make defaults for Cloud::S3 ? |
I'm also running into this issue. I'm using Any movement on this? |
When I move my S3 credentials to
config.rb
I receive the following error when kicking off a backup.Missing required arguments: aws_access_key_id, aws_secret_access_key
It seems that these params are not passed to the fog gem.
(Using 3.0.23)
The text was updated successfully, but these errors were encountered: