Hi,

07.08.2007 04:02,, Mark Nienberg wrote::
> Mark Nienberg wrote:
> 
>> If not, is it possible to simulate it with an option something like this:
>>
>> Include {
>>      Options {
>>          Exclude = yes
>>      }
>>      File = \</program.to.run.on.client
>> }
>>
>> where the "program.to.run.on.client" would search for a particular file name 
>> and 
>> create a list of directories where it is present.

That is possible. Bacula itself does not directly support "marker 
files" to prevent or force backup of certain directories or files, by 
the way (which is a conscious design decision, and a good one, IMO).

> A closer reading of the docs makes me think that the 
> "program.to.run.on.client" would 
> have to be run from a cron job or maybe a "Client Run Before Job" and then
> 
> File = \<file.created.by.program
> 
> How about that?

Also possible.

But not that the *exact* syntax to use is a little different to your 
first example :-)

The pipe character "|" is used to indicate the output of the given 
program should be included, so your first example should have been 
\|... plus additional backslashes for quoting purposes. All very 
complicated ;-) but explained with examples in the file set chapter of 
the manual.


> Mark
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to