Package: bacula
Version: 5.0.2-2.2
backup catalog failed
because of missing scripts that should be created during installation.
occur (only ?) when using an existing mysql database.
this files have not been created :
- /etc/bacula/scripts/
make_catalog_backup.pl- /etc/bacula/scripts/delete_catalog_backup
manually resolved by using files from 5.0.3 sources :
- bacula-5.0.3/src/cats/
make_catalog_backup.pl.in- bacula-5.0.3/src/cats/
delete_catalog_backup.in
1) remove ".in" extension
2) edit and replace var :
@SQL_BINDIR@ => /usr/bin
@sbindir@ => /usr/sbin
@sysconfdir@ => /etc/bacula
@working_dir@ => /var/lib/bacula
3) copy this two files to /etc/bacula/scripts
4) copy existing file /etc/mysql/my.cnf to /var/lib/bacula
be carrefull to change file owner to user bacula.bacula
Bests regards,
Guillaume Voyau