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?

CommentFileSizeAuthor
#4 1576812-4-case-7-14.patch1.01 KBmfer
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mahtoranjeet’s picture

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

mfer’s picture

Version: 7.x-2.2 » 7.x-2.3
Priority: Normal » Critical
mfer’s picture

Status: Active » Needs review
FileSize
1.01 KB

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.

micahw156’s picture

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

ronan’s picture

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

kiliweb’s picture

Patch #4 works perfectly ! Thanks, you !