Hi All, I am trying to glob a load of oracle backup files. As per Stephan Ebelt's post these will be under /uNN dirs that are often on different file systems.
What I am trying to do is; regex = "^\/u[0-9]{2}\/(oraback|oraarch)" But the following fail to match anything bar '/' regex = "^\/u[0-9]{2}\/(oraback|oraarch)" regex = "^\/u[0-9]{2}\/oraexp" regex = "^\/u[0-9]{2}\/oraback" regex = "^\/u[0-9]{2}.oraback" As expected regex = "^\/u[0-9]{2}" matches the lot. Can anyone shed any light on this or the regex code? I can appreciate that this may not be a bacula issue, but a lib linked by it. This should be repeatable by creating a few dir's eg; mkdir -p /u01/oraback mkdir -p /u02/oraarch touch /u02/oraarch/foo touch /u01/oraback/bar mkdir /u02/oraIGNORE touch /u02/oraIGNORE/shouldnotbebackuped Then create a FileList like: FileSet { Name = oratest Ignore FileSet Changes = yes Include { Options { Compression = GZIP signature = SHA1 onefs = no fstype = ext2 regex = "^\/u[0-9]{2}.oraarch" } Options { exclude = yes regex = ".*" } File = / } } And then run it and check the files with est Job=JOBNAME listing Greg ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users