Bacula-users

Re: [Bacula-users] RegEx to filter every other file format

2014-09-22 12:56:54
Subject: Re: [Bacula-users] RegEx to filter every other file format
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 22 Sep 2014 17:54:32 +0100
>>>>> On Sat, 20 Sep 2014 11:23:09 -0300, Heitor Faria said:
> 
> 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?

Can you post the whole fileset?  That RegexFile could do different things
depending on the other options.

Also, does "filtered all files" mean than the backup contains 0 files?

__Martin

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users