74 | | Automatic configuration can be done by source:opsi/products/opsi-bacula-server-conf.py |
| 79 | The Bacula Director configuration files can be automatically generated by the opsiclient script. |
| 80 | |
| 81 | * install the dass-opsi-tools from |
| 82 | * http://software.opensuse.org/download/package?project=home:dassit:opsi:opsi4&package=dass-opsi-tools |
| 83 | * or at least {{{opsiclient}}} from source:opsi/server/dass-opsi-tools/usr/bin/opsiclient |
| 84 | * |
| 85 | {{{ |
| 86 | opsiclient --server SERVERNAME createBaculaConfigFiles |
| 87 | }}} |
| 88 | * creates the bacula config files: |
| 89 | {{{ |
| 90 | opsi-clients-generated.conf |
| 91 | opsi-jobs-generated.conf |
| 92 | }}} |
| 93 | * Include them into {{{/etc/bacula/bacula-dir.conf}}}, e.g. |
| 94 | {{{ |
| 95 | # include automatically generated config files for OPSI clients |
| 96 | @/etc/bacula/generated/opsi-clients-generated.conf |
| 97 | @/etc/bacula/generated/opsi-jobs-generated.conf |
| 98 | }}} |
| 99 | * reload the Bacula Director configuration, e.g. by |
| 100 | {{{ |
| 101 | echo "reload" | bconsole |
| 102 | }}} |