mmarschall/s3db-backup

Issue in my production environment

amitrmohanty opened this issue · 1 comments

DB backup functionality is working fine in staging environment. But when im trying to invoke the rake task to upload the db to s3...git stuck by getting the following error..

"mysqldump: Got error: 1045: Access denied for user 'dbname'@'server private ip address' (using password: YES) when trying to connect"

Im wondering why it would take server instead of host address from database.yml

I have also declared config variables in application.rb,
ENV['S3DB_BUCKET'] = "XXXXXXXX"
ENV['S3DB_DATABASE_CONFIG'] = "production"

I would appreciate if you can assist me in fixing this issue.

Thanks.
Amit

Also i notice that while it threw error, file is being saved with "mysql-leaguerprod-2015-09-22-13h28m13s.sql.gz.cpt" but the size is only 52byte which is incorrect. May it started the process and in between the error is thrown.