======Bacula 7 on CentOS 7====== =====Repository===== cd /etc/yum.repos.d wget https://repos.fedorapeople.org/repos/slaanesh/bacula7/epel-bacula7.repo ====GPG key==== rpm --import https://repos.fedorapeople.org/repos/slaanesh/bacula7/RPM-GPG-KEY-slaanesh =====Installation===== ====Bacula SD==== yum install bacula-storage mt-st ====Bacula Director==== yum install postgresql-server perl-DBD-Pg yum install bacula-director bacula-console postgresql-setup initdb systemctl restart postgresql systemctl enable postgresql ===Bacula BAT (Optional)=== yum install bacula-console-bat xorg-x11-xauth xorg-x11-fonts-* =====Configuration===== ====Firewall==== firewall-cmd --permanent --zone=management --add-service=bacula firewall-cmd --permanent --zone=local --add-service=bacula firewall-cmd --permanent --zone=dmz --add-service=bacula ====Bacula Director==== su - postgres createuser -P -s root Enter password for new role: Enter it again: exit /usr/libexec/bacula/create_postgresql_database /usr/libexec/bacula/make_postgresql_tables /usr/libexec/bacula/grant_postgresql_privileges /usr/libexec/bacula/grant_bacula_privileges psql -d bacula ALTER USER bacula with password 'PASSWORD'; # "local" is for Unix domain socket connections only local all all trust # IPv4 local connections: host all all 127.0.0.1/32 trust # IPv6 local connections: host all all ::1/128 trust =====Uninstall Bacula 5 SD===== yum remove bacula-common bacula-libs bacula-libs-sql bacula-storage mt-st postgresql-libs {{tag>centos}}