After creating and configuring a MySQL Database destination, I cannot back up to that database. Submitting the form at admin/content/backup_migrate results in the error
Fatal error: require_once() [function.require]: Failed opening required './sites/all/modules/backup_migrate/includes/db.inc' (include_path='.:/usr/share/php:/usr/share/pear') in [...]/sites/all/modules/backup_migrate/backup_migrate.module on line 208
I attempted to fix it by changing line 26 of includes/destinations.db.inc to
backup_migrate_include('files', 'destinations.db');
But this resulted in another error:
Fatal error: Call to undefined function backup_migrate_db_restore() in [...]/sites/all/modules/backup_migrate/backup_migrate.module on line 735
... which appears to be a separate issue ...
Comments
Comment #1
reinvented commentedI'm also experiencing this issue: if I set my source as "default database" and my destination as a different database, I get the error:
I can, however, backup to a file, and then restore from that backup file to a different database without issue.
Comment #2
ronan commentedLatest commit should fix this. Thanks for the reports