meskyanichi/backup — Issue #277: database backup fails silently
Author: phoolish
Created: 2012-02-16 16:51:14+00:00
State: open

I have a mysql database backup that seems to fail silently. It creates a compressed archive with an empty sql file. I used the credentials to manually run mysqldump without any problem. When run from the command line backup seems to think the backup was successful.

database MySQL do |db|
db.name = 'db_production'
db.username = db'
db.password = '"pass"
db.host = "localhost"
db.port = 3306
db.socket = "/tmp/mysql.sock"
# db.skip_tables = ['skip', 'these', 'tables']
# db.only_tables = ['only', 'these' 'tables']
db.additional_options = ['--quick', '--single-transaction']
end

I am using the latest gem.

Thank you for your time.