Backup directory exclusion syntax for multiple directories


How can I exclude multiple directories from the same WEB folder?

I have tried the following which should work but it is not:*.zip:public_html/*.sql

Contents of the exluded directories are still being added to the archive.
What am I doing wrong?

I think this should work fine:

I don’t think you can exlude *.zip and so on.

If I put the same domain in 2 or more lines only one gets saved.
The one liner should work I think, the HestiaCP GUI lists the paths correctly in the “value” column.

Now I have added /* at the end to each path, we’ll see.

Update: ending paths with /* works. example:*:public_html/data-files/*:sql_backup/*


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.