Posted by mahtoranjeet on May 14, 2012 at 6:36am
14 followers
| 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.
#2
Drupal 7.14 made a breaking change in http://drupalcode.org/project/drupal.git/blobdiff/464808fb43c82ebb4beb3c... #1171866: Enforced fetching of fields/columns in lowercase breaks third-party integration
#3
#4
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.
#5
Yep, patch in #4 fixed my broken backups on 7.14 also. Thanks, Matt!
#6
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 !