dizda / CloudBackupBundle

Be able to backup your database(s) and upload it to the cloud (Dropbox, Amazon S3, GoogleDrive, etc.)
MIT License
196 stars 57 forks source link

prod/backup/mysql/mysql.cnf does not exist #114

Closed lakhman closed 7 years ago

lakhman commented 7 years ago

I just installed this bundle, I see the command being generated as:

"mysqldump --defaults-extra-file="/Users/user/Sites/app/var/cache/prod/backup/mysql/mysql.cnf" db_dev  > '/Users/user/Sites/app/var/cache/prod/backup/mysql/db_dev.sql'"

But this file does not exist (I cleared the cache after install for both dev and prod).

prod/backup/mysql/mysql.cnf

It just backs up an empty file with no errors.

lakhman commented 7 years ago

It looks like this is not compatible with Symfony 3.

https://github.com/symfony/filesystem/blob/master/CHANGELOG.md

The mode parameter has been removed:

https://github.com/dizda/CloudBackupBundle/blob/master/Database/MySQL.php#L94

related: #89

akovalyov commented 7 years ago

@lakhman @Nyholm it should be resolved via https://github.com/dizda/CloudBackupBundle/pull/122

Nyholm commented 7 years ago

Great. Thank you.