Title: Exclude files
Last modified: February 1, 2017

---

# Exclude files

 *  Resolved [sweety garg](https://wordpress.org/support/users/sweety-garg/)
 * (@sweety-garg)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/exclude-files-2/)
 * Hello Admin,
 * i am using the backupwordpress plugin for a long time. and i am very much satisfying
   with this plugin. But today I need a help from this plugin. I want to take backup
   of some selective files only. So I am using exclude option. But there are so 
   many files that I want to exclude. Kindly provide an option where I can exclude
   multiple files at once.

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Katrina “Kat” Moody](https://wordpress.org/support/users/katmoody/)
 * (@katmoody)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/exclude-files-2/#post-8745401)
 * Hey there –
 * We definitely have this listed as an enhancement to try and work on in the future!
   If you haven’t already tried, you might find it easier using the exclude option
   that utilizes a constant added to the wp-config.php file.
 * Specifically, you would use the `HMBKP_EXCLUDE` constant. You would add a line
   like the following to your wp-config.php file, using your own comma separated
   list of files or directories to exclude. Our own and some other plugins’ backup
   directories are automatically excluded.
 * So you’d replace the `'/wp-content/uploads/, /stats/, .svn/, .txt'` with your
   own comma separated list below:
 * `define( 'HMBKP_EXCLUDE', '/wp-content/uploads/, /stats/, .svn/, .txt' );`
 * Let me know if that helps you out for now. And we will definitely be looking 
   at easier ways to extend this for our users more in the future.
 * Kat

Viewing 1 replies (of 1 total)

The topic ‘Exclude files’ 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/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Katrina “Kat” Moody](https://wordpress.org/support/users/katmoody/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/exclude-files-2/#post-8745401)
 * Status: resolved