Inventory Hooks
Queries
Inventory hooks are installed in /opt/bacula/etc/inventory.d
and can be
queried separately.
Basic
Linux
database-mysql.sh
database-postgresql.sh
Queries mysql and postgresql databases information.
Windows
databases-mssql.ps1
hyperv-inventory.ps1
Queries mssql databases and hyper-V hypervisor information.
Definition
Inventory hooks can be written in any language. Some environment variables are passed to all hooks.
Option |
Default |
Description |
---|---|---|
BACULA_WORKINGDIR BACULA_SYSCONFDIR BACULA_BINDIR |
/opt/bacula/working /opt/bacula/etc /opt/bacula/bin |
Bacula Working directory Bacula Configuration directory Bacula Binary directory |
Go back to: Inventory Plugin: Operations.