Re: [Bacula-users] Hint: Include Confs
2011-08-27 04:26:51
On 08/26/2011 08:19 PM, Rickifer Barros wrote:
> Hi Everyone...
>
> I'm reading a book about Bacula and I found a hint that could be very useful
> to many users here.
>
> Instead you declare all your resources inside the same .conf
> (bacula-dir.conf) you might separate them on many files. So, you just need
> declare them in your bacula-dir.conf like this way:
>
> @/etc/bacula/bacula-dir-catalogs.conf
> @/etc/bacula/bacula-dir-messages.conf
> @/etc/bacula/bacula-dir-clients.conf
> @/etc/bacula/bacula-dir-consoles.conf
> @/etc/bacula/bacula-dir-pools.conf
> @/etc/bacula/bacula-dir-filesets.conf
> @/etc/bacula/bacula-dir-schedules.conf
> @/etc/bacula/bacula-dir-jobs.conf
> @/etc/bacula/bacula-dir-storages.conf
>
> This allow a better organization of your confs.
>
> That's it Man!
>
> I hope that this be useful to someone... :)
>
> Rickifer Barros
>
>
If you organize it a bit more you can eventually do something like this
#Include all pure -dir conf
@|"sh -c 'for f in /etc/bacula/dir.d/*.conf ; do echo @${f} ; done'"
#Include all client conf
@|"sh -c 'for f in /etc/bacula/clients.d/*.conf ; do echo @${f} ; done'"
--
Bruno Friedmann
Ioda-Net Sàrl www.ioda-net.ch
openSUSE Member & Ambassador
GPG KEY : D5C9B751C4653227
irc: tigerfoot
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|