>>>>> On Wed, 28 Feb 2007 16:26:10 +0100, Ralf Gross said: > > I'm facing a problem with an other FileSet. > > The following should backup everything in all 000_INS_ARCHIV directories below > /server/projekte. There is at least one directory that matches the > regex/wilddir expression at the moment. > > # ls -l /server/projekte/EAT/test > insgesamt 0 > dr-xr-s--- 2 ralfgro ve 6 2007-02-27 18:18 000_ARCHIV.2007-02-27 > drwxr-s--- 2 ralfgro ve 6 2007-02-27 18:18 000_INS_ARCHIV > drwxr-sr-x 2 root ve 6 2007-02-28 15:24 000_KEIN_BACKUP > drwxrws--- 2 ralfgro ve 6 2007-02-27 18:05 test > > > FileSet { > Name = "VU0EM003-Archiv" > Include { > Options { > signature = MD5 > aclsupport = yes > #RegexDir = ".*000_INS_ARCHIV.*" > #wilddir = "/server/projekte/EAT/test/000_INS_ARCHIV*" > wilddir = "*000_INS_ARCHIV*" > } > Options { > RegexDir = ".*" > exclude = yes > } > File = /server/projekte > } > [snip] > > > # ./bregex -f /tmp/regex > Enter regex pattern: .*000_INS_ARCHIV.* > 1: /server/projekte/EAT/test/000_INS_ARCHIV > > # ./bwild -f /tmp/regex > Enter a wild-card: *000_INS_ARCHIV* > 1: /server/projekte/EAT/test/000_INS_ARCHIV > > > *reload > *estimate job=VU0EM003-Archiv listing client=VU0EM003-Archiv > fileset=VU0EM003-Archiv level=full > Using Catalog "ArchiveCatalog" > Connecting to Client VU0EM003-Archiv at 10.60.1.252:9102 > drwxr-xr-x 11 root root 125 2007-02-18 10:57:58 > /server/projekte > 2000 OK estimate files=1 bytes=0 > ... > What am I missing in my VU0EM003-Archiv FileSet?
The problem is that the Options clauses for directories control two things: whether to back up of that directory itself and whether to look inside for things to back up. Your second options clause stops it looking at any directory in /server/projekte :-( I think it is impossible to do what you want with the Options resources. You have to use a File clause that finds the archive directories each time, e.g. File = "\\|find /server/projekte -type d -name '*000_INS_ARCHIV*'" __Martin ------------------------------------------------------------------------- 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