Bacula-users

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

2014-09-22 14:37:23
Subject: Re: [Bacula-users] RegEx to filter every other file format
From: Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 22 Sep 2014 15:35:07 -0300
Hi,

I did some tests, and it worked for me with linux filesystem. When I tried the same FileSet definition with Windows, it does the reported by Heitor.

Regards,
Ana

On Sat, Sep 20, 2014 at 11:23 AM, Heitor Faria <heitor AT bacula.com DOT br> wrote:
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,
--
============================================
Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code at Udemy: bacula-users
Site: www.bacula.com.br
Facebook: heitor.faria
Gtalk: heitorfaria AT gmail DOT com
============================================

------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
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