Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I upgraded to 2.3 (from 2.2) on a site in which I had table-locking turned on for backups--->, the backup would hang. To get the site back I had to restart mysql.
Without table locking turned on, backup_migrate works fine.
running Drupal 6.19
My box specs:
Architecture: x86_64
MySQL version 5.0.91-community
Apache version 2.2.16
PHP version 5.2.14
thanks for the great module
Comment | File | Size | Author |
---|---|---|---|
#8 | backup-migrate-table-lock-952584.patch | 1.74 KB | ronan |
Comments
Comment #1
jvieille CreditAttribution: jvieille commentedI confirm this issue.
Actually, backup sometimes succeeds with table locking, but lasts 50x more times
Comment #2
jvieille CreditAttribution: jvieille commentedI confirm this issue.
Actually, backup sometimes succeeds with table locking, but lasts 50x more times
Comment #3
longhornke85 CreditAttribution: longhornke85 commentedI also confirm this issue.
Since I did the update Monday the site keeps crashing.
I disabled the backup now
Comment #4
Shai CreditAttribution: Shai commentedI wrote, via the drupal.org contact form to @ronan, the module maintainer. This is a well maintained module so I'm hopeful this will be attended to quickly.
@longhornke85 you have two other choices besides turning off the module completely.
drush dl backup_migrate-6.x-2.2
Note that because the upgrade from 2.2 to 2.3 did not include any database-related changes, downgrading Mshould proceed without incident.
Comment #5
ronan CreditAttribution: ronan commentedI have finally been able to reproduce this and am working on a solution. In the mean time I'd recommend simply disabling the 'Lock Tables' option. We have dozens of sites running scheduled backups without table locking and have never experienced any kind of corruption so you should be pretty safe to run without locking.
I'll report back when I have a patch or update to try.
Thanks
Ronan
Comment #6
ronan CreditAttribution: ronan commentedI've commited a fix that should go in the next dev release sometime today. Could you guys test that out for me and let me know if it solves your problems?
Thanks
Comment #7
Shai CreditAttribution: Shai commentedHi Ronan,
Thanks much!
If you posted the patch here I'd test it even before it's deployed on drupal.org.
Shai
Comment #8
ronan CreditAttribution: ronan commentedHere's a patch, let me know if it applies,
Thanks
Comment #9
Shai CreditAttribution: Shai commentedPatch applied and fixed problem. Thanx.
Shai
Comment #10
momper CreditAttribution: momper commentedthanx