Title: Debug Code &#8211; Backup failed
Last modified: August 8, 2023

---

# Debug Code – Backup failed

 *  Resolved [sph](https://wordpress.org/support/users/sheikhpervezhameed/)
 * (@sheikhpervezhameed)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/debug-code-backup-failed/)
 * BMI-2DfEJEDY-54772
 * The automatic backups are not happening so I decided to click on the create backup
   now and I got this debug code. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [MixHa](https://wordpress.org/support/users/mixha/)
 * (@mixha)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/debug-code-backup-failed/#post-16955668)
 * Hello [@sheikhpervezhameed](https://wordpress.org/support/users/sheikhpervezhameed/),
 * Your debug code, tells me that the backup was cancelled by Apache Web Server.
   
   It was most likely caused by KeepAliveTimeout directive in Apache configuration.
 * We have alternate backup method, that can bypass this limitation.
   Simply, follow
   below steps, there are also other things you can improve.
 * Please open first section of the plugin named: “What will be backed up?”
   Find
   subsection named: “Exclude by folder / file name (case-sensitive)”Here add these
   three rules, like on image: [https://prnt.sc/9oftADPd_Z7e](https://prnt.sc/9oftADPd_Z7e)
 * Once you do that, please follow these steps:
    1. Go to “Other options” section
    2. Change backup method: [https://prnt.sc/1s1ofpa](https://prnt.sc/1s1ofpa)
    3. Disable PHP CLI checking: [https://prnt.sc/1sljr31](https://prnt.sc/1sljr31)
    4. Save “Other options” section
    5. Force stop both processes: [https://prnt.sc/1trv1tm](https://prnt.sc/1trv1tm)
 * When you do that, try to run your backup once again.
 * Let me know if that worked for you 🙂
   Thank you!
 *  Plugin Support [MixHa](https://wordpress.org/support/users/mixha/)
 * (@mixha)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/debug-code-backup-failed/#post-16970710)
 * [@sheikhpervezhameed](https://wordpress.org/support/users/sheikhpervezhameed/),
 * We haven’t heard from you since, so I’ll assume that the issue is resolved and
   will close this support ticket. If you face any new issues, please feel free 
   to open a new ticket.
 * Kind regards

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Debug Code – Backup failed’ is closed to new replies.

 * ![](https://ps.w.org/backup-backup/assets/icon-128x128.png?rev=2995566)
 * [Backup Migration](https://wordpress.org/plugins/backup-backup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/backup-backup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/backup-backup/)
 * [Active Topics](https://wordpress.org/support/plugin/backup-backup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/backup-backup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/backup-backup/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [MixHa](https://wordpress.org/support/users/mixha/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/debug-code-backup-failed/#post-16970710)
 * Status: resolved