bacula-alma8-mariadb/install-bacula.sh
Eliezer Croitoru 9f4e1b3e8c 1
2024-01-27 22:39:10 +00:00

12 lines
317 B
Bash
Executable File

#!/usr/bin/env bash
dnf install -y bacula-director bacula-storage bacula-console bacula-client
alternatives --set libbaccats.so /usr/lib64/libbaccats-mysql.so
mysql -uroot < create-bacula-database.sql
mysql -uroot <create-dump-user.sql
# initialize bacule database tables
/usr/libexec/bacula/make_mysql_tables -p