Saltar al contenido

Solución de problemas

Solucionar: Fix Database Lock Wait Timeout Backup

Causas y soluciones para « Database Lock Wait Timeout Backup » en backups Multisite.

Gratis

Solución para Fix Database Lock Wait Timeout Backup

When you hit database lock wait timeout backup, start with the Multisite Migrate job log: last completed chunk, PHP/memory messages, HTTP 502/504, disk/inode errors, or cloud auth failures. Multisite archives are larger and table-heavier than single-site jobs, so shared hosts interrupt long PHP requests — Jobs in Chunks exist specifically for that.

Check tmp/disk free space, upload_max_filesize for imports, S3/Drive/Dropbox/SFTP credentials for Plus uploads, and security plugins that block admin-ajax. After restore issues, verify siteurl/home, rewrite rules, domain mapping (sunrise.php), object-cache drop-ins, and CDN caches. Reproduce once on Staging before changing production limits.

Diagnóstico por log primero para «Database Lock Wait Timeout Backup»

Separate backup failures from post-restore URL/media/login problems. Capture job percent, last log line, HTTP status, hosting class, and whether a local archive already exists. That evidence decides whether you raise PHP limits, free disk, fix cloud auth, or only re-upload.

For “database lock wait timeout backup”, avoid restarting from scratch if a chunked job can resume. Lost locks, cleared tmp, or a new job ID are common reasons a progress bar jumps back to 0%.

Correcciones alineadas con Multisite

Raise PHP time/memory enough for safety, but keep chunked jobs — shared hosts can still kill long workers. Free disk and inodes before large network archives. Allow admin-ajax through WAF or security plugins. On Plus, re-test Drive/Dropbox/S3-compatible/SFTP credentials and quotas.

Free handles core backup/restore; Plus covers BYO cloud; Pro covers remote import, empty-server installer, Staging, and split/extract. Pick the tool that matches the failure — do not upgrade tiers hoping a cloud auth typo will disappear.

Cuando el archivo ya terminó

If the local archive is good, you can restore even when cloud upload failed. Fix destination auth/quota, then re-upload, or restore from local. On Staging, confirm HTTPS, mapping, media, and logins before production.

If only one subsite looks wrong after restore, check that site’s tables and sites/{id}/ uploads path before re-running the whole network job.

Retención, cifrado e higiene de soporte

For fix database lock wait timeout backup, keep enough archive generations to roll back a bad deploy or failed migration. Optional .venc AES-256 encryption on Multisite Migrate archives protects copies at rest when you store offsite on Plus destinations. Document credentials, schedule windows, and who may run Network Admin jobs.

When opening a support ticket, include the last job log lines, hosting class, PHP limits, free disk, and whether a local archive already exists.

Por qué importa

Diagnóstico por logs

Identifique si el fallo es PHP, disco, DB, cloud o reescritura de URL.

Jobs en chunks como fix por defecto

Reanudar en lugar de reiniciar jobs Multisite enormes desde cero.

Comprobaciones tras restore

Separar fallos de backup de problemas URL/medios/login tras restore.

Evidencia lista para soporte

Saber qué líneas de log y datos de entorno capturar para soporte.

Pasos

  1. 1Capturar el punto de fallo

    Ejecute este paso en Network Admin o en el subsitio y compruebe el resultado en Staging.

  2. 2Aplicar el fix adecuado

    Ejecute este paso en Network Admin o en el subsitio y compruebe el resultado en Staging.

  3. 3Reejecutar en chunks

    Ejecute este paso en Network Admin o en el subsitio y compruebe el resultado en Staging.

  4. 4Confirm local archive integrity (localizado)

    Ejecute este paso en Network Admin o en el subsitio y compruebe el resultado en Staging.

  5. 5Validar la ruta de restore

    Ejecute este paso en Network Admin o en el subsitio y compruebe el resultado en Staging.

Preguntas frecuentes

Respuestas breves sobre este tema Multisite. ¿Sigues atascado? Abre la docs o contacta soporte.

Pregunta: Should I raise PHP limits forever?

Respuesta Multisite Migrate: Free/Plus/Pro, jobs en chunks, cloud BYO y ensayo de restore en Staging.

Pregunta: Why did the job restart at 0%?

Suele ser lock perdido, tmp vaciado o nuevo ID de job. Revise locks y disco antes de reejecutar.

Pregunta: Cloud upload failed but local archive exists?

Destinos nativos Plus: Google Drive, Dropbox, S3-compatible y SFTP. Sin OneDrive nativo ni vault propietario.

Pregunta: Is “database lock wait timeout backup” usually backup or restore?

Respuesta Multisite Migrate: Free/Plus/Pro, jobs en chunks, cloud BYO y ensayo de restore en Staging.

14 día de devolución de dinero en Plus y Pro

Leer la guía de backup →