Backup FIlters | variable for root path
-
Hello
Is there a way to use variables or wildcards for backup filters paths?
Let’s say I want to exclude the following files from my backup file:
*/.htaccess;
*/.user.ini;
*/.php.ini;
*/wordfence-waf.php;I have a blueprint site that I move from local server to some other servers, and then possibly to some other server. I prefer not to set the root path every time in the filters settings. Sometimes, I just want to copy settings from one installation to another. Of course, it’s not a big deal to make it manually, yet we all try to make our life a little easier by skipping unnecessary and repeatable tasks.
I can’t use a wildcard or at least I tried, and it didn’t work. Is there any other way? There is already a button that reads and adds current path [root path]. Is there a way to use it instead, so the settings work on any installation?
I know that in the given example I can exclude ini and htaccess files by targeting its extensions, but with wordfence or other files it won’t work. I would appreciate pointing out any solution, or link to docs, if it’s already addressed (I couldn’t find it), or adding a wildcard/variable to future updates (unless for some reason it’s a security risk).
Thank you for any suggestions and for a great plugin.
The topic ‘Backup FIlters | variable for root path’ is closed to new replies.