How To Install mylvmbackup on CentOS 7
Introduction
In this tutorial we learn how to install mylvmbackup
on CentOS 7.
What is mylvmbackup
mylvmbackup is a tool for quickly creating full physical backups of a MySQL server’s data files. To perform a backup, mylvmbackup obtains a read lock on all tables and flushes all server caches to disk, makes an LVM snapshot of the volume containing the MySQL data directory, and unlocks the tables again. The snapshot process takes only a small amount of time. When it is done, the server can continue normal operations, while the actual file backup proceeds.
We can use yum
or dnf
to install mylvmbackup
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install mylvmbackup.
Install mylvmbackup on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install mylvmbackup
using yum
by running the following command:
Install mylvmbackup on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install mylvmbackup
using dnf
by running the following command:
How To Uninstall mylvmbackup on CentOS 7
To uninstall only the mylvmbackup
package we can use the following command:
References
Summary
In this tutorial we learn how to install mylvmbackup
on CentOS 7 using yum
and dnf
.