hi and thanks for a great module!

just installed the latest 6.x-2.x-dev version, upgrading from the prior 2.x-dev version that i have been using for awhile, with no problems.

after the database update-
1 of the 4 queries seems to have failed...
looks like something funky in update #2001.

not sure what impact this has on the current state of the module entries in the db.

code messages follow below.
please advise and thanks, again.

vincent, in buffalo

user warning: Duplicate column name 'source_id' query: ALTER TABLE backup_migrate_profiles ADD `source_id` VARCHAR(32) NOT NULL DEFAULT 'db_url:default' in /your-server-path.../includes/database.mysql-common.inc on line 298.
Update #2001
ALTER TABLE {backup_migrate_profiles} ADD `filters` TEXT DEFAULT NULL
ALTER TABLE {backup_migrate_profiles} CHANGE filters `filters` TEXT NOT NULL
Failed: ALTER TABLE {backup_migrate_profiles} ADD `source_id` VARCHAR(32) NOT NULL DEFAULT 'db_url:default'
ALTER TABLE {backup_migrate_profiles} DROP compression

Comments

ronan’s picture

Status: Active » Closed (won't fix)

This should not negatively affect you at all. It is just trying to do DB update for you which you do not need. I've been trying to keep the update path as clean as possible, but have haven't done so well since I keep changing the schema. Until it is stable I'm afraid these kind of errors will be inevitable. Once I go for a 2.0 release, I'm going to make sure that there upgrade from 1.x is very clean, but until then I'm afraid update noise is going to have to be the price of using dev :)

Ronan

spade’s picture

Hi Ronan,

got the same issue and when I go to the admin page (or elseweher) I receive several errors:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /is/htdocs/wp1123905_WAUFW64VGM/mydomain/drupal/sites/all/modules/backup_migrate/backup_migrate.module on line 553

Warning: Cannot modify header information ...

Does that tell you something?

Kind regards,

Frank

ronan’s picture

Thanks spade. This is actually a different issue (described here #395462: Call-time pass-by-reference has been deprecated in \backup_migrate\backup_migrate.mod). I'll have a fix ASAP.

R