You have to put the Exclude=yes at the _beginning_ because first match wins
Chris Sarginson wrote: > Hi Guys, > > I'm trying to get bacula to exclude log files (live and old compressed) > and the windows page file, but I'm having a little trouble, IE, it's not > doing as I ask it. As a result I assume I am asking it incorrectly :-) > > bacula-mysql 2.0.1 on Centos 4.3 > > Here is my file set resource, I have tried emulating the config in the > manual, in 2 fashions. If anyone can point me in the correct direction > it would be much appreciated. > > FileSet { > Name = "Full Set" > Include { > Options { > signature = MD5 > onefs = no > fstype = ext2 > } > > File = / > } > Include { > Options { > wildfile = "access.log" > wildfile = "access.log.*.*.gz" > wildfile = "access.log.*.*" > wildfile = "error.log" > Exclude = yes > } > } > Exclude { > File = /proc > File = /tmp > File = /.journal > File = /.fsck > } > } > > #Windows File Set > FileSet { > Name = "Windows Full Set" > Include { > Options { > signature = MD5 > onefs = no > fstype = ntfs > } > File = C:/ > File = D:/ > } > Include { > Options { > wildfile = "pagefile.sys" > wildfile = "*.log" > Exclude = yes > } > } > } > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users