Mr. Bacula Users,
I'm trying to formulate a RegEx on fileset that excludes from backup everything expect a specific file type (.odt), just as curiosity (I know I could use WildFile + RegexFile Exclude .*).
I've created a test directory with those files:
root@hfaria-ThinkPad-T420:/test# ls
heitor heitor.odd heitor.odt heitor.odx heitor.ott heitor.oxx odd odt odx
I've tried this [1]: Regexfile = "^.*[^o][^d][^t]$"; Exclude = yes; But no files are filtered.
Then I tried this [2]: Regexfile = "^.*[^o][^d][^t]"; Exclude = yes; And it filtered all files.
Questions: what is the format of the file list RegexFile uses? Any hints on this?
Regards,