Bacula-users

Re: [Bacula-users] Missing directory metadata (BUMP: weird directory timestamps)

2013-08-15 09:03:13
Subject: Re: [Bacula-users] Missing directory metadata (BUMP: weird directory timestamps)
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 15 Aug 2013 14:00:13 +0100
>>>>> On Wed, 14 Aug 2013 14:14:29 -0500, Dimitri Maziuk said:
> 
> 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).

I think it isn't possible with dynamic filesets unforunately, because they
only generate the root directory list, not the options clauses.

__Martin

------------------------------------------------------------------------------
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

<Prev in Thread] Current Thread [Next in Thread>