On 08/14/2013 01:34 PM, Martin Simmons wrote:
...
> You work around it with something similar to this the fileset below. The
> first four wilddir options include the parents, the fifth wilddir option backs
> up the wanted files and the exclude option prevents other files from being
> included.
> Include {
> Options {
> wilddir = "/tmp/test-files/dirtest"
> wilddir = "/tmp/test-files/dirtest/dir1"
> wilddir = "/tmp/test-files/dirtest/dir1/subdir"
> wilddir = "/tmp/test-files/dirtest/dir1/subdir/innerdir"
> wild = "/tmp/test-files/dirtest/dir1/subdir/innerdir/*"
Hmm... the problem is I don't know where the files are or how many
parents there may be.
My file list comes from
File = '\\|sh -c 'find /home \\( -name fid -o -name ser \\) -mtime +1
-exec dirname \\{} \\; | sort | uniq'
and that returns e.g.
/home/katie/tmp/1
/home/ren/data/99999
/home/ren/data/110713a1caHN/101
/home/ren/data/110713a1caHN/102
/home/ren/data/110217rttrpHsCN/714
/home/stu/HNBC/372
So I can't list them in the wilddir: I won't know what they are until
the command runs on the client (yes, the list changes with every job).
Thanks
--
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|