• Resolved Syl

    (@alexsylvester)


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mohammedeisa

    (@mohammedeisa)

    Hello @alexsylvester ,

    Thanks for reaching out to us.

    Right now, we don’t have an option to dynamically exclude paths or file names from Duplicator backups. I do agree it would be super helpful, though. I’ve noted this feature request so we can keep it on our radar.

    Thank you for sharing this. And if you have any other questions, could you please let me know?

    Thanks!

    Thread Starter Syl

    (@alexsylvester)

    Thank you for the quick answer and adding it to the list of feature requests. I don’t have any other questions. Marking thread as resolved.

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

The topic ‘Backup FIlters | variable for root path’ is closed to new replies.