How To Install bacula-logwatch on Rocky Linux 8

In this tutorial we learn how to install bacula-logwatch on Rocky Linux 8. bacula-logwatch is Bacula Director logwatch scripts

Introduction

In this tutorial we learn how to install bacula-logwatch on Rocky Linux 8.

What is bacula-logwatch

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 logwatch scripts for Bacula Director.

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

Install bacula-logwatch on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install bacula-logwatch

Install bacula-logwatch on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install bacula-logwatch

How To Uninstall bacula-logwatch on Rocky Linux 8

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

sudo dnf remove bacula-logwatch

bacula-logwatch Package Contents on Rocky Linux 8

/etc/logwatch/conf/logfiles/bacula.conf
/etc/logwatch/conf/services/bacula.conf
/etc/logwatch/scripts/services/bacula
/etc/logwatch/scripts/shared/applybaculadate

References

Summary

In this tutorial we learn how to install bacula-logwatch on Rocky Linux 8 using yum and dnf.