i am trying to create a backup that excludes a couple of directories. i have tried every combination i can think of to exclude multiple directories from the virtualmin backup-domain command:
–exclude public_html/dir1 --exclude public_html/dir2 (just excludes the first one)
Using multiple --exclude is the correct syntax. Do you have – or -- for the first one?
That said, I checked the code and it all seems correct at first glance. Make sure that you really have -- in all cases placed before --exclude. Yet, I’d also expect command to fail with – in it.