Download & Extend

Could not complete the backup.

Project:Backup and Migrate
Version:7.x-2.3
Component:User interface
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

Hi,

When I upgraded Drupal 7.12 to 7.14. and trying to take backup of my database by backup and migrate. it though a error message "Could not complete the backup." and backup is not happening.

Could any know why this is happening?

Comments

#1

Hi,
Found some help from this thread http://drupal.org/node/1564408.

#3

Version:7.x-2.2» 7.x-2.3
Priority:normal» critical

#4

Status:active» needs review

This patch is working for me.

The base issue is that prior to 7.14 drupal set the pdo connection case sensitivity to lower. In 7.14 it was not set meaning the responses from the database were taken as is. Column names start with an uppercase character (for example). So, everything started to break.

The attached patch grab the connections setting for this, sets it to lower, performs the query, and reverts back. This should work for all versions of Drupal 7.

AttachmentSize
1576812-4-case-7-14.patch 1.01 KB

#5

Yep, patch in #4 fixed my broken backups on 7.14 also. Thanks, Matt!

#6

Status:needs review» closed (duplicate)

This should be fixed in 7.x-2.3. Can you confirm that you are running that version of the module?

Also, dupe: #1558680: Notice: Undefined index: name - BM can't read DB table names

#7

Patch #4 works perfectly ! Thanks, you !

nobody click here