How To Install bacula-director on CentOS 8

Hostnbit
bacula-director is Bacula Director files

Introduction

In this tutorial we learn how to install bacula-director on CentOS 8.

What is bacula-director

Bacula is a set of programs that allow you to manage the backup, recovery, and verification of computer data across a network of different computers. It is based on a client/server architecture. This package contains the director files.

We can use yum or dnf to install bacula-director on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install bacula-director.

Install bacula-director on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install bacula-director using dnf by running the following command:

sudo dnf -y install bacula-director

Install bacula-director on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install bacula-director using yum by running the following command:

sudo yum -y install bacula-director

How To Uninstall bacula-director on CentOS 8

To uninstall only the bacula-director package we can use the following command:

sudo dnf remove bacula-director

bacula-director Package Contents on CentOS 8

/etc/bacula/bacula-dir.conf
/etc/bacula/query.sql
/etc/sysconfig/bacula-dir
/usr/lib/.build-id
/usr/lib/.build-id/28
/usr/lib/.build-id/28/f19700339cb34cdb5ffb21917e77828117fd79
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/772de64489ddff27311d27231168db4add19b5
/usr/lib/.build-id/71
/usr/lib/.build-id/71/82eba3129eb98180ab59e38ec90174639102ba
/usr/lib/.build-id/83
/usr/lib/.build-id/83/3ba02d53f2e117f2a435bbbd5cf4c62c053a1d
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/9ef839280c1828a5a3336b51667ed0f99f459a
/usr/lib/.build-id/9e/5262ce5afbf8872948de1ce36f3aad66514604
/usr/lib/systemd/system/bacula-dir.service
/usr/libexec/bacula/baculabackupreport
/usr/libexec/bacula/create_bacula_database
/usr/libexec/bacula/create_mysql_database
/usr/libexec/bacula/create_postgresql_database
/usr/libexec/bacula/create_sqlite3_database
/usr/libexec/bacula/delete_catalog_backup
/usr/libexec/bacula/drop_bacula_database
/usr/libexec/bacula/drop_bacula_tables
/usr/libexec/bacula/drop_mysql_database
/usr/libexec/bacula/drop_mysql_tables
/usr/libexec/bacula/drop_postgresql_database
/usr/libexec/bacula/drop_postgresql_tables
/usr/libexec/bacula/drop_sqlite3_database
/usr/libexec/bacula/drop_sqlite3_tables
/usr/libexec/bacula/grant_bacula_privileges
/usr/libexec/bacula/grant_mysql_privileges
/usr/libexec/bacula/grant_postgresql_privileges
/usr/libexec/bacula/grant_sqlite3_privileges
/usr/libexec/bacula/make_bacula_tables
/usr/libexec/bacula/make_catalog_backup.pl
/usr/libexec/bacula/make_mysql_tables
/usr/libexec/bacula/make_postgresql_tables
/usr/libexec/bacula/make_sqlite3_tables
/usr/libexec/bacula/update_bacula_tables
/usr/libexec/bacula/update_mysql_tables
/usr/libexec/bacula/update_postgresql_tables
/usr/libexec/bacula/update_sqlite3_tables
/usr/sbin/bacula-dir
/usr/sbin/bdirjson
/usr/sbin/bregex
/usr/sbin/bsmtp
/usr/sbin/bwild
/usr/sbin/dbcheck
/usr/share/doc/bacula-director
/usr/share/doc/bacula-director/sample-query.sql
/usr/share/doc/bacula-director/updatedb
/usr/share/doc/bacula-director/updatedb/README
/usr/share/doc/bacula-director/updatedb/update_bacula_tables.in
/usr/share/doc/bacula-director/updatedb/update_bacula_tables_8_to_9
/usr/share/doc/bacula-director/updatedb/update_mysql_tables
/usr/share/doc/bacula-director/updatedb/update_mysql_tables.in
/usr/share/doc/bacula-director/updatedb/update_mysql_tables_10_to_11
/usr/share/doc/bacula-director/updatedb/update_mysql_tables_10_to_11.in
/usr/share/doc/bacula-director/updatedb/update_mysql_tables_11_to_12
/usr/share/doc/bacula-director/updatedb/update_mysql_tables_11_to_12.in
/usr/share/doc/bacula-director/updatedb/update_mysql_tables_4_to_5
/usr/share/doc/bacula-director/updatedb/update_mysql_tables_5_to_6
/usr/share/doc/bacula-director/updatedb/update_mysql_tables_6_to_7
/usr/share/doc/bacula-director/updatedb/update_mysql_tables_7_to_8
/usr/share/doc/bacula-director/updatedb/update_mysql_tables_8_to_9
/usr/share/doc/bacula-director/updatedb/update_mysql_tables_9_to_10
/usr/share/doc/bacula-director/updatedb/update_mysql_tables_9_to_10.in
/usr/share/doc/bacula-director/updatedb/update_postgresql_tables
/usr/share/doc/bacula-director/updatedb/update_postgresql_tables.in
/usr/share/doc/bacula-director/updatedb/update_postgresql_tables_10_to_11
/usr/share/doc/bacula-director/updatedb/update_postgresql_tables_10_to_11.in
/usr/share/doc/bacula-director/updatedb/update_postgresql_tables_11_to_12
/usr/share/doc/bacula-director/updatedb/update_postgresql_tables_11_to_12.in
/usr/share/doc/bacula-director/updatedb/update_postgresql_tables_7_to_8
/usr/share/doc/bacula-director/updatedb/update_postgresql_tables_8_to_9
/usr/share/doc/bacula-director/updatedb/update_postgresql_tables_9_to_10
/usr/share/doc/bacula-director/updatedb/update_postgresql_tables_9_to_10.in
/usr/share/doc/bacula-director/updatedb/update_sqlite3_tables
/usr/share/doc/bacula-director/updatedb/update_sqlite3_tables.in
/usr/share/doc/bacula-director/updatedb/update_sqlite3_tables_10_to_11
/usr/share/doc/bacula-director/updatedb/update_sqlite3_tables_10_to_11.in
/usr/share/doc/bacula-director/updatedb/update_sqlite3_tables_11_to_12
/usr/share/doc/bacula-director/updatedb/update_sqlite3_tables_11_to_12.in
/usr/share/doc/bacula-director/updatedb/update_sqlite3_tables_8_to_9
/usr/share/doc/bacula-director/updatedb/update_sqlite3_tables_9_to_10
/usr/share/doc/bacula-director/updatedb/update_sqlite3_tables_9_to_10.in
/usr/share/doc/bacula-director/updatedb/update_sqlite_tables_10_to_11.in
/usr/share/doc/bacula-director/updatedb/update_sqlite_tables_4_to_5
/usr/share/doc/bacula-director/updatedb/update_sqlite_tables_5_to_6
/usr/share/doc/bacula-director/updatedb/update_sqlite_tables_6_to_7
/usr/share/doc/bacula-director/updatedb/update_sqlite_tables_7_to_8
/usr/share/doc/bacula-director/updatedb/update_sqlite_tables_8_to_9
/usr/share/doc/bacula-director/updatedb/update_sqlite_tables_9_to_10.in
/usr/share/man/man1/bsmtp.1.gz
/usr/share/man/man8/bacula-dir.8.gz
/usr/share/man/man8/bregex.8.gz
/usr/share/man/man8/bwild.8.gz
/usr/share/man/man8/dbcheck.8.gz

References

Summary

In this tutorial we learn how to install bacula-director on CentOS 8 using yum and dnf.

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Menu Title
Scroll to Top