>>>>> On Mon, 19 Nov 2007 17:17:12 -0700, Robert LeBlanc said:
> 
> It would be nice if the [EMAIL PROTECTED] for including other files in the 
> director conf
> file could be expanded to directories. I've set-up my bacula directory to
> hold the client configurations in /etc/bacula/clients-available and then in
> /etc/bacula/clients-available I symlink to the clients-available. If I could
> include a directory then I could easily remove a client (storage, fileset,
> job, etc) without having to remove or comment out the config file. Just
> remove the symlink. Debian does this with Apache and I think it's a good
> approach for managing lots of sites and clients, etc.

I think it was rejected because of the danger of loading random stuff into the
config.  As a workaround, you could use two levels of @ by creating
/etc/bacula/clients-available/.loader containing

@/etc/bacula/clients-available/client1
@/etc/bacula/clients-available/client2
@/etc/bacula/clients-available/client3
@/etc/bacula/clients-available/client4

etc and putting @/etc/bacula/clients-available/.loader in the main config.
You can generate the .loader file using a shell script.

__Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to