If your UpdraftPlus log or email says “Backup aborted: the database backup has not completed”, the database step timed out or crashed. On shared hosting this usually means slow queries, a very large table (logs, transients, sessions), insufficient PHP resources, or a stalled WP-Cron. Use the quick wins below, then work through the deeper fixes until the database archive (db.gz) is created successfully.
UpdraftPlus keeps saying “Backup aborted: the database backup has not completed.” How do I fix this fast?
mysqldump (fast and reliable).mysqldump is not available or unstable, fall back to PHP mode.Go to UpdraftPlus → Advanced tools → View last log. Look for lines that mention database, resumption, timeout, or a specific table name. Note the last table processed; that’s your likely bottleneck.
Huge or constantly written tables (e.g., wp_actionscheduler_*, WooCommerce sessions, analytics logs, security logs) commonly stall backups. Use WP-CLI to list sizes:
# List table sizes (top offenders bubble up)
wp db size --all-tables --format=table
# (Optional) Export just the DB first to confirm access/performance
wp db export updraft-db-test.sql
Options if a single table is enormous:
Corruption or fragmented indexes can halt the dump process.
# Quick health check
wp db check
# Attempt repairs (safe; monitor output)
wp db repair
# Optional: optimize (reclaims space; can be slow on large tables)
wp db optimize
No WP-CLI? Use phpMyAdmin’s Repair/Optimize on the largest tables or enable WordPress’s built-in repair page temporarily by adding to wp-config.php:
define('WP_ALLOW_REPAIR', true);
Visit https://example.com/wp-admin/maint/repair.php, run Repair/Repair and optimize, then remove that line from wp-config.php.
mysqldump is faster and more resilient but requires host support. In UpdraftPlus Settings → Database:
mysqldump” if the server provides it (your host can confirm the path; common: /usr/bin/mysqldump).mysqldump fails or isn’t available, set UpdraftPlus to use PHP for the DB dump and increase the resumption attempts.On constrained hosting, the dumping/compression step may hit limits. Increase values (any one method you control):
// wp-config.php (above the "That's all" line)
define('WP_MEMORY_LIMIT', '256M');
define('WP_MAX_MEMORY_LIMIT', '256M');
# .user.ini or php.ini (if available)
max_execution_time = 300
memory_limit = 256M
After saving, restart PHP (or ask your host) and retry.
If DISABLE_WP_CRON is true or the site gets little traffic, jobs may never resume.
// wp-config.php ensure this is absent or set to false
define('DISABLE_WP_CRON', false);
# Manually run due cron events once
wp cron event run --due-now
In UpdraftPlus → Backup/Restore, click Backup now and select only Database. If that succeeds, your fixes are working; re-enable full backups.
mysqldump or for a temporary bump to max_execution_time/memory_limit.wp_actionscheduler_*, wp_options (autoload bloat), and session tables.WP Assistant is a free tool created by Atiba Software, a WordPress design and development company located in Nashville, TN. If you need more personalized WordPress assistance let us know, and we’ll get back to you ASAP!