Title: Backup Failed [Please help]
Last modified: June 5, 2021

---

# Backup Failed [Please help]

 *  Resolved [talha112233](https://wordpress.org/support/users/talha112233/)
 * (@talha112233)
 * [5 years ago](https://wordpress.org/support/topic/backup-failed-please-help/)
 * Hi.
 * So, we have been using Updraft Plus for quite a while. Everything was fine but
   after we changed our hosting provider to Hostinger – that uses LiteSpeed, our
   backups are failing.
 * Wordpress gives us LiteSpeed warning. We have already applied the suggested solution
   of adding two commands in .htaccess but the backups are still failing.
 * Can someone please check the logs and let us know what’s happening here?
 * Logs: [https://docs.google.com/document/d/1QTAR2d7sH4Pbll6m6B5OqY_EpAG3oV9TyALHl3lB4Js/edit?usp=sharing](https://docs.google.com/document/d/1QTAR2d7sH4Pbll6m6B5OqY_EpAG3oV9TyALHl3lB4Js/edit?usp=sharing)
 * Thanks.
    -  This topic was modified 5 years ago by [talha112233](https://wordpress.org/support/users/talha112233/).

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [bcrodua](https://wordpress.org/support/users/bcrodua/)
 * (@bcrodua)
 * [5 years ago](https://wordpress.org/support/topic/backup-failed-please-help/#post-14526059)
 * Hi,
 * `The log shows:
    0195.894 (0) PHP event: code E_WARNING: Error while sending 
   QUERY packet. PID=23519 (line 2056, wp-includes/wp-db.php)
 * The most likely cause is that the database server drops the connection to WordPress
   after a set amount of time, and as a result UpdraftPlus isn’t able to update 
   the database’s record of backup progress. You could avoid that by adding this
   to your wp-config.php, which causes UpdraftPlus to kill itself after 90 seconds(
   which appears to be the time after which the errors start) – when it resumes,
   it then will get another 90 seconds (and will continue until it completes):
 * define(‘UPDRAFTPLUS_SET_TIME_LIMIT’, 90);
 * Also could you try to reduce the backup archive split size. This will split the
   backup into smaller, more manageable files.
 * To do this, open the ‘expert settings’ section of the UpdraftPlus Settings tab,
   and find the ‘split backups every’ option. Set this to 25Mb save your settings
   and run a new process.
 * If the issue persists, please ask your hosts/server admin to investigate their
   PHP error logs. These logs should contain more information on the exact issue
   that is causing the backup process to halt.
 * Regards,
    Bryle

Viewing 1 replies (of 1 total)

The topic ‘Backup Failed [Please help]’ is closed to new replies.

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

## Tags

 * [backup-failed](https://wordpress.org/support/topic-tag/backup-failed/)

 * 1 reply
 * 2 participants
 * Last reply from: [bcrodua](https://wordpress.org/support/users/bcrodua/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/backup-failed-please-help/#post-14526059)
 * Status: resolved