Bacula-users

Re: [Bacula-users] Include Dir Containing?

2011-02-22 06:10:35
Subject: Re: [Bacula-users] Include Dir Containing?
From: Christian Manal <moenoel AT informatik.uni-bremen DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 22 Feb 2011 12:07:10 +0100
Am 22.02.2011 11:33, schrieb Jeremy Maes:
> Op 22/02/2011 11:07, Christian Manal schreef:
>> Hi list,
>>
>> I know there is an option for filesets to exclude directories containing
>> a specific file (Exclude Dir Containing). Now I was wondering if there
>> is an easy way do it the other way around, i.e. only include directories
>> containing a specific file? I don't think this can be done with
>> Regex(|dir|file) or Wild(|dir|file).
>>
> http://www.bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#SECTION001880000000000000000
> 
> In those fileset examples should be at least one example of how to 
> include only specific (types of) files.
> 

That's right, but not what I need. I want to include the directory
containing the specific file, not the file itself like it is shown in
the examples.

To give an example: By default, nothing under

   /export/home

will be backed up. Now a user "foo" creates a file ".backmeup" in his
home directory or a subdirectory of it. For example

   /export/home/foo/important/.backmeup

The next backup should then include the directory

   /export/home/foo/important


Regards,
Christian Manal

------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users