Backup directory exclusion syntax for multiple directories

Hi,

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

I have tried the following which should work but it is not:

x.hu:public_html/storage/app/media
y.hu:public_html/video-szinkron/uploads:public_html/data-files:sql_backup
z.hu:public_html/*.zip:public_html/*.sql
a.hu
b.hu:public_html/data
c:public_html
d.hu

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

I think this should work fine:

y.hu:public_html/video-szinkron/uploads
y.hu:public_html/data-files
y.hu:sql_backup

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:
y.hu:public_html/video-szinkron/uploads/*:public_html/data-files/*:sql_backup/*

2 Likes

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