Hi, guys.
I'm doing a fairly standard backup of home directories on a linux
system. My users store their email in Maildirs (one directory per
folder) and each has a Spam folder which holds the spam delivered by the
mail server. I'm using a lot of backup space backing up spam, and I'd
like to avoid that.
As an example, the directory structure looks like:
/home
/home/bob
/home/bob/Maildir
/home/bob/Maildir/Spam
/home/bob/Maildir/Spam/cur (this is where the files really are)
/home/jeff
/home/jeff/Maildir/Spam
/home/jeff/Maildir/Spam/cur (ditto)
What I am doing now is backing up /home which backs up everything, of
course. I'd like to backup /home but omit /home/*/Maildir/Spam and all
folders under, so skip:
/home/*/Maildir/Spam and
/home/*/Maildir/Spam/*
Is this possible in bacula? I saw some stuff for omitting directories or
files, but it wasn't clear if I could set it up like this.
Thanks
Jeff
