Re: [Bacula-users] Getting more than wanted in backup
2012-06-18 14:14:44
>>>>> On Fri, 15 Jun 2012 13:59:26 -0400, Clark, Patricia A said:
>
> To get the multiple streams I've broken my filesets and their corresponding
> jobs into multiple pieces. The snippets below are 2 of the 7 that I
> created. I am finding that I am getting everything in /home from each of
> these filesets and not just the subset of the home directories. Testing
> with bwild suggests that the RegexDir should be correct. So, what am I
> missing?
>
> FileSet {
> Name = "home_dirs1 Set"
> # Capture /home/[0-9]*
> Include {
> Options {
> signature = MD5
> RegexDir = "/home/[0-9]*"
> }
> Options {
> RegexDir = ".*" <--I have also tried /home/* to be more explicit
> Exclude = yes
> }
> File = /home
> }
> }
> FileSet {
> Name = "home_dirs2 Set"
> # Capture /home/[a-e]*
> Include {
> Options {
> signature = MD5
> RegexDir = "/home/[a-e]*"
> }
> Options {
> RegexDir = ".*"
> Exclude = yes
> }
> File = /home
> }
> }
Your main RegexDir patterns are wrong: "/home/[0-9]*" matches everything
starting with "/home/" because of the definition of "*" in a regex. You
probably want wilddir = "/home/[0-9]*" instead.
Also, you should wild = "*" instead of RegexDir = ".*".
__Martin
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|