{"issue":{"title":"empty mysql backups","user":{"login":"qzaidi","id":815882,"url":"https://api.github.com/users/qzaidi","avatar_url":"https://secure.gravatar.com/avatar/83191f497fbed9964f4183c0f9261e06?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"83191f497fbed9964f4183c0f9261e06"},"created_at":"2011-07-04T12:32:09Z","milestone":null,"state":"open","updated_at":"2011-12-25T10:20:24Z","labels":[],"id":1161909,"closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/sukria/Backup-Manager/issues/12","body":"If a .my.cnf file already exists, backup-manager will create an empty sql file (and a 14 byte bz2 file if compression is on). This happens because it uses the --defaults-extra-file option from mysql, and this overrides everything except the ~/.my.cnf. The failure is not reported anywhere (not even in the verbose mode).\r\n\r\nIt should not fail silently - if mysqldump failed, $PIPESTATUS could be used to determine failure. ","number":12,"url":"https://api.github.com/repos/sukria/Backup-Manager/issues/12","comments":11,"assignee":null},"comment":{"user":{"login":"gzarkadas","id":999482,"url":"https://api.github.com/users/gzarkadas","avatar_url":"https://secure.gravatar.com/avatar/b1453ed593efc7c1ee1b4669811e4ddd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b1453ed593efc7c1ee1b4669811e4ddd"},"created_at":"2011-12-25T10:20:24Z","updated_at":"2011-12-25T10:20:24Z","id":3270394,"body":"I just created a .my.cnf putting there the mysql login password and then run backup-manager. All went well. Since the 14 byte filesize was a problem every time I did not managed to connect to the database backend (both mysql and postgresql), I tend to believe it is just an issue of inability to connect to the database server due to configuration errors and not a misfunction of backup-manager.\r\n\r\nUsing 0.7.10.1 release for the testing.","url":"https://api.github.com/repos/sukria/Backup-Manager/issues/comments/3270394"},"action":"created"}