Hi,
When you click on the “add a exclusion rule” you should get 4 options.
Chose the 1st: 1.File/Directory and then navigate to the file that needs excluding
https://snipboard.io/nGytKe.jpg
Well I still needed help and explained in the last post, but I see several of my post of have been deleted?
You –
In your screenshot, you are looking at excluding files from “Others” rather than “uploads” (the Uploads is just above this)
If you select the option to exclude file directory navigate to the file policecrimes.com_20250609-132556_d33a47d2dd8d.wpstg and add this this
The full directory of the file is uploads/wp-staging/backups/policecrimes.com_20250609-132556_d33a47d2dd8d.wpstg
*
Me:
policecrimes.com_20250616-225956_a4f6ee3db1b0.wpstg
policecrimes.com_20250619-212732_3b3e564f41e8.wpstg
policecrimes.com_20250622-220113_be00e3f2bfe1.wpstg
That’s all there is, I don’t see what you suggested:
If you select the option to exclude file directory navigate to the file policecrimes.com_20250609-132556_d33a47d2dd8d.wpstg and add this this
The full directory of the file is uploads/wp-staging/backups/policecrimes.com_20250609-132556_d33a47d2dd8d.wpstg
*
im not giving up
Plugin Contributor
bcrodua
(@bcrodua)
Hi @maybandy
Let’s try a couple of options to exclude those .wpstg backup files from being picked up in future backups:
Option 1: Use the Uploads section exclusion
Make sure you’re in the “Uploads” section (not “Others”) under UpdraftPlus > Settings.
In the “Exclude these:” field, add: wp-staging/backups
This will exclude everything inside /wp-content/uploads/wp-staging/backups/, including your .wpstg files.
Option 2: Use a .donotbackup file
You can create a file called: .donotbackup
(no quotes, no file extension) and place it inside the /wp-content/uploads/wp-staging/backups/ folder. UpdraftPlus will automatically exclude that folder and all its contents (and subfolders) from future backups.
Option 3: Exclude by file extension (advanced)
If you want to exclude files based on their extension (like .wpstg), you can add this line to your wp-config.php file:
define('UPDRAFTPLUS_EXCLUDE_EXTENSIONS', 'wpstg');
This tells UpdraftPlus to ignore any files with the .wpstg extension.
Full FAQ detail here – https://teamupdraft.com/documentation/updraftplus/topics/backing-up/faqs/how-can-i-exclude-certain-files-and-directories-from-a-backup/
Best Wishes,
Bryle
Plugin Contributor
bcrodua
(@bcrodua)
Hi @maybandy
Just checking in—can you confirm if everything is working as expected now?
Thanks,
Bryle
Everything is great!
I used Option 2: Use a .donotbackup file and it worked.
Thanks