Title: Cannot delete old exclude
Last modified: March 28, 2018

---

# Cannot delete old exclude

 *  Resolved [Thorworx](https://wordpress.org/support/users/thorworx-1/)
 * (@thorworx-1)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/cannot-delete-old-exclude/)
 * I created a folder exclude a long time ago in a previous version of the plugin.
 * Now, I do not have the option to stop excluding this folder.
    The folder in question
   is a normal folder with one subfolder that contains .xls files. Folder and file
   permissions are correct. It is named decklogs: /public_html/decklogs/
 * I have: deleted all schedules, completely uninstalled the plugin, manually deleted
   all traces of hmbkp and schedules from the database, deleted all cache and cookies(
   domain, path and session), entirely deleted cron from the database, re-installed
   the plugin. I’ve done this several times.
 * I even regenerated my Authentication Unique Keys and Salts in wp-config to kill
   all nonces and cookies.
 * After doing all of the above, upon reinstalling, the default “Complete Manually”
   schedule when created is STILL excluding the /decklogs/ folder, its /xls/ subdirectory,
   and all of the .xls files and I cannot stop excluding any of these.
 * n.b.: I have not added any excludes to the wp-config file.
 * In looking at the plugin code, I don’t see anything that would cause this. Presumably
   it’s getting a “user_schedule” from somewhere?, but I don’t see where.

Viewing 1 replies (of 1 total)

 *  Thread Starter [Thorworx](https://wordpress.org/support/users/thorworx-1/)
 * (@thorworx-1)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/cannot-delete-old-exclude/#post-10123542)
 * Apparently, this is caused by the plugin’s default include of “.log”
 * This fixes my problem (class-excludes.php):
 *     ```
       	private $default_excludes = array(
       		'.svn',
       		'_svn',
       		'CVS',
       		'_darcs',
       		'.arch-params',
       		'.monotone',
       		'.bzr',
       		'.git',
       		'.hg',
       // 		'.log',
       		'backupwp',
       		'backwpup-*',
       		'updraft',
       		'wp-snapshots',
       		'backupbuddy_backups',
       		'pb_backupbuddy',
       		'backup-db',
       		'Envato-backups',
       		'managewp',
       		'backupwordpress-*-backups',
       	);
       ```
   
 * … but obviously now log files will get backed up as well.

Viewing 1 replies (of 1 total)

The topic ‘Cannot delete old exclude’ 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/)

 * 1 reply
 * 1 participant
 * Last reply from: [Thorworx](https://wordpress.org/support/users/thorworx-1/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/cannot-delete-old-exclude/#post-10123542)
 * Status: resolved