When attempting a backup on Pantheon.io I'm seeing this error:

Could not perform backup, Unexpected value in dumpSettings: (complete-insert).

The module works great locally and on Site5.

I used the instructions at https://github.com/ifsnop/mysqldump-php to add mysqldump-php.

Comments

aangel created an issue. See original summary.

aangel’s picture

Title: Backup fais withUnexpected value in dumpSettings on Pantheon » Backup fair with Unexpected value in dumpSettings on Pantheon
aangel’s picture

Title: Backup fair with Unexpected value in dumpSettings on Pantheon » Backup fails with Unexpected value in dumpSettings on Pantheon
aangel’s picture

Not just on Pantheon now.

swim’s picture

What file location/ schema are you using? private, public or temp? Try the dev version and let me know how you go.

Devline’s picture

The error is triggered by Mysqldump which does not have any property named 'complete-insert' in its setting definiition (at least in last version 1.1.1.2).

The reference to this property should be removed from the backup_db.settings.yml, backupDatabaseSettingsForm.php and backupDatabase.php files

If you want a temporary quick dirty fix, just comment the line 'complete-insert' => $config->get('settings.complete_insert'), in backupDatabase.php function __construct().

aangel’s picture

My apologies for missing your note, swim. Not sure why I didn't get an email.

devline that did the trick, thank you.

geoanders’s picture

Status: Active » Closed (outdated)