How To Install mariadb-backup on Rocky Linux 8
Introduction
In this tutorial we learn how to install mariadb-backup on Rocky Linux 8.
What is mariadb-backup
MariaDB Backup is an open source tool provided by MariaDB for performing physical online backups of InnoDB, Aria and MyISAM tables. For InnoDB, “hot online” backups are possible.
We can use yum or dnf to install mariadb-backup on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mariadb-backup.
Install mariadb-backup 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 mariadb-backup using dnf by running the following command:
sudo dnf -y install mariadb-backup
Install mariadb-backup 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 mariadb-backup using yum by running the following command:
sudo yum -y install mariadb-backup
How To Uninstall mariadb-backup on Rocky Linux 8
To uninstall only the mariadb-backup package we can use the following command:
sudo dnf remove mariadb-backup
mariadb-backup Package Contents on Rocky Linux 8
/usr/bin/mariabackup
/usr/bin/mbstream
/usr/lib/.build-id
/usr/lib/.build-id/2d/07b07a363d73e7e8ce4442611d2f95b522dd8f
/usr/lib/.build-id/72
/usr/lib/.build-id/72/1325acb28ecb2fe0bf4e4ed22091230f03d812
/usr/share/man/man1/mariabackup.1.gz
/usr/share/man/man1/mbstream.1.gz
References
Summary
In this tutorial we learn how to install mariadb-backup on Rocky Linux 8 using yum and dnf.