Closed (won't fix)
Project:
Backup and Migrate
Version:
6.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2009 at 15:16 UTC
Updated:
9 Mar 2009 at 16:07 UTC
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
Comment #1
ronan commentedThis 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
Comment #2
spade commentedHi Ronan,
got the same issue and when I go to the admin page (or elseweher) I receive several errors:
Does that tell you something?
Kind regards,
Frank
Comment #3
ronan commentedThanks 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