Changes

Jump to: navigation, search

Bacula

40 bytes added, 09:10, 15 April 2008
no edit summary
Clearly this recipe was only A silent installer for bacula-fd (Bacula Client).
Instead of installing Clearly this recipe was only for bacula-fd for specific host, i install bacula for all host and i activate it when needed, using some script glue(Bacula Client).
My recipe are:Instead of installing bacula-fd for specific host, I install bacula for all host and I activate it when needed, using some script glue.
My recipe is:
<source lang="xml">
as you can see:
#i I install/upgrade bacula, then i I stop and deactivate it (as stated on intro, default installation for all clients, but not activated)#on upgrade, '''bacula service have to be removed for a real silent installation''', so i I stop and remove it before upgrade
Done that, iI've to configure, and i I use this recipe:
<source lang="xml">
</source>
Note the ececuteexecute=once, so this recipe have no check condition nor an upgrade command.
The bacula.bat script simply copy copies configuration files and scripts from a directory based on the hostname:
<source lang="dos">
:: We use the %COMPUTERNAME% variable to setup conditionally the bacula daemon
:: Note the dirs for english English and italian Italian configuration files, add/modify as needed
::
if exist "%WPKGROOT%\packages\bacula\%COMPUTERNAME%.conf" (
</source>
The only drawback for now are : if i I upgrade the binary (package bacula), i've I have to upgrade also the settings (bacula-settings) because by default the bacula package disable disables the service, and only the -settings package enable enables it.
[[Category:Silent Installers]]

Navigation menu