upgraded d6 to d7 and seems to be working great with no errors etc. very simple site with few modules. installed b&m and ran update.php and got this error. also ran it on my clone in WampServer and same error. it installed fine on a fresh d7 in WampServer

after the error there are no backup_migrate.... tables in the db

any help would be appreciated

backup_migrate module Update #2001 Failed: DatabaseSchemaObjectDoesNotExistException: Cannot add field backup_migrate_profiles.filters: table doesn't exist. in DatabaseSchema_mysql->addField() (line 325 of
includes/database/mysql/schema.inc).

Comments

superhua’s picture

I had the same issue; had to upgrade my B&M module to 6.2 first and then procede with the D6 to D7 upgrade.

ronan’s picture

Status: Active » Postponed (maintainer needs more info)

Can you guys tell me what version of B&M you were upgrading from?

ronan’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Reopen if you're still having issues.

waddles’s picture

Status: Closed (cannot reproduce) » Active

Seems it was installed but disabled prior to the upgrade. I tried deleting from {variable} where value like 'backup_migrate%' but still can't enable it successfully in D7.

D6 version (disabled)

[wad@serf web]$ drush pm-info backup_migrate
 Extension        :  backup_migrate                                                              
 Project          :  backup_migrate                                                              
 Type             :  module                                                                      
 Title            :  Backup and Migrate                                                          
 Description      :  Backup or migrate the Drupal Database quickly and without unnecessary data. 
 Version          :  6.x-1.3                                                                     
 Date             :  2010-06-14                                                                  
 Package          :  Other                                                                       
 Core             :  6.x                                                                         
 PHP              :  4.3.5                                                                       
 Status           :  disabled                                                                    
 Path             :  sites/all/modules/backup_migrate                                            
 Schema version   :  module has no schema                                                        
 Requires         :  none                                                                        
 Required by      :  none                                                                        
 Configure        :  None                                                                        

After D6 -> D7 upgrade

[wad@serf web-7]$ drush en backup_migrate
The following extensions will be enabled: backup_migrate
Do you really want to continue? (y/n): y

WD menu: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'c2drupal7.backup_migrate_destinations' [error]
doesn't exist: SELECT * FROM {backup_migrate_destinations}; Array
(
)
 in backup_migrate_item->all_items() (line 636 of /web-7/sites/all/modules/backup_migrate/includes/crud.inc).
backup_migrate was enabled successfully.                                                                                 [ok]
backup_migrate defines the following permissions: access backup and migrate, perform backup, access backup files, delete backup files, restore from backup, administer backup and migrate
[wad@serf web-7]$ drush pm-info backup_migrate

 Extension     :  backup_migrate                                                                                            
 Project       :  backup_migrate                                                                                            
 Type          :  module                                                                                                    
 Title         :  Backup and Migrate                                                                                        
 Description   :  Backup or migrate the Drupal Database quickly and without unnecessary data.                               
 Version       :  7.x-2.8                                                                                                   
 Date          :  2013-11-06                                                                                                
 Package       :  Other                                                                                                     
 Core          :  7.x                                                                                                       
 PHP           :  5.2.4                                                                                                     
 Status        :  enabled                                                                                                   
 Path          :  sites/all/modules/backup_migrate                                                                          
 Schema        :  2000                                                                                                      
 version                                                                                                                    
 Files         :  backup_migrate.module, backup_migrate.install, includes/destinations.inc, includes/profiles.inc,          
                  includes/schedules.inc                                                                                    
 Requires      :  none                                                                                                      
 Required by   :  none                                                                                                      
 Permissions   :  access backup and migrate, perform backup, access backup files, delete backup files, restore from backup, 
                  administer backup and migrate                                                                             
 Configure     :  admin/config/system/backup_migrate                                                                        
waddles’s picture

As alluded to in #1, I was able to get around the problem by updating the D6 site to 2.2 and copying the schema from the backup_migrate_* tables and variables into the D7 site using PHPMyAdmin.

couturier’s picture

Status: Active » Closed (outdated)

This error hasn't occurred in recently filed issues, and the 2.x branch is being deprecated.