Title: [Plugin: BackUpWordPress] BackupWordPress doesn&#039;t add the sql dump to the backup
Last modified: August 20, 2016

---

# [Plugin: BackUpWordPress] BackupWordPress doesn't add the sql dump to the backup

 *  Resolved [kwerri](https://wordpress.org/support/users/kwerri/)
 * (@kwerri)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/plugin-backupwordpress-backupwordpress-doesnt-add-the-sql-dump-to-the-backup/)
 * Hi,
 * I’ve recently started using BackupWordpress, and it’s a great tool – very simple
   to use.
 * Unfortunately, I have a problem. Sometimes, when I kick off the backup, the files
   are zipped and the sql dump is created, but the sql dump is not added to the 
   zip file to create the final backup.
 * Any idea why this might be happening?
 * [http://wordpress.org/extend/plugins/backupwordpress/](http://wordpress.org/extend/plugins/backupwordpress/)

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

 *  Thread Starter [kwerri](https://wordpress.org/support/users/kwerri/)
 * (@kwerri)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-backupwordpress-backupwordpress-doesnt-add-the-sql-dump-to-the-backup/#post-2247719)
 * Fixed this – I needed to add both the define( ‘HMBKP_FILES_ONLY’, false ); and
   define( ‘HMBKP_DATABASE_ONLY’, false ); settings to my config file (even though
   I thought these were false by default).
 *  Plugin Author [Tom Willmot](https://wordpress.org/support/users/willmot/)
 * (@willmot)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-backupwordpress-backupwordpress-doesnt-add-the-sql-dump-to-the-backup/#post-2247733)
 * Hmm, that sounds like a bug as you shouldn’t have to define those just to get
   it working.
 * Thanks for reporting, will look into it and if there is a bug fix in next release.
 *  Thread Starter [kwerri](https://wordpress.org/support/users/kwerri/)
 * (@kwerri)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-backupwordpress-backupwordpress-doesnt-add-the-sql-dump-to-the-backup/#post-2247747)
 * Actually, the problem isn’t fixed; it seems there’s something wrong with the 
   shell_exec command that does the zipping so that once it’s done, it doesn’t go
   on to add the sql file to the files zip file.
 * I think it may be a permissions issue as this works when I do the zipping manually
   but it doesn’t work when the zipping happens via the wp_cron job.
 *  Plugin Author [Tom Willmot](https://wordpress.org/support/users/willmot/)
 * (@willmot)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-backupwordpress-backupwordpress-doesnt-add-the-sql-dump-to-the-backup/#post-2247752)
 * Thanks for the update,
 * I think we may have fixed this, could you try downloading the development version
   from [http://downloads.wordpress.org/plugin/backupwordpress.zip](http://downloads.wordpress.org/plugin/backupwordpress.zip)
   and see if that fixes your problem.
 *  Plugin Author [Tom Willmot](https://wordpress.org/support/users/willmot/)
 * (@willmot)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-backupwordpress-backupwordpress-doesnt-add-the-sql-dump-to-the-backup/#post-2247753)
 * This has been fixed in version 1.3.2

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

The topic ‘[Plugin: BackUpWordPress] BackupWordPress doesn't add the sql dump to
the backup’ is closed to new replies.

 * ![](https://ps.w.org/backupwordpress/assets/icon-256x256.jpg?rev=1105225)
 * [BackUpWordPress](https://wordpress.org/plugins/backupwordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/backupwordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/backupwordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/backupwordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/backupwordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/backupwordpress/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tom Willmot](https://wordpress.org/support/users/willmot/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-backupwordpress-backupwordpress-doesnt-add-the-sql-dump-to-the-backup/#post-2247753)
 * Status: resolved