Bacula-users

Re: [Bacula-users] How to include configuration files

2008-08-28 06:22:11
Subject: Re: [Bacula-users] How to include configuration files
From: Yang Xianqing <xianqingyang AT ethos.com DOT cn>
To: Jan van Stekelenburg <jstekelenburg AT nl.clara DOT net>, 'bacula-users' <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 28 Aug 2008 18:21:59 +0800
Yes. Thank you. Very good. I added "*.conf".


@|"sh -c 'for f in /here/be/the/configs/*.conf ; do echo @${f} ; done'"


-----Original Message-----
From: Jan van Stekelenburg [mailto:jstekelenburg AT nl.clara DOT net]
Sent: 2008年8月28日 17:45
To: Yang Xianqing; 'bacula-users'
Subject: RE: [Bacula-users] How to include configuration files

>  I want edit separate file for one host. How can I include
>  configuration files in bacula-dir.conf?
>  For example, I have these files server01.conf server02.conf .....
>  Every files configure the job, client, schedule, file set.
>  How to be included to t bacula-dir.conf?

You can also include a whole directory with config files like this:

@|"sh -c 'for f in /here/be/the/configs/* ; do echo @${f} ; done'"

This is particularly easy if you happen to have lots of clients or
seperate configs.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users