How To Install xfsdump on CentOS 7
Introduction
In this tutorial we learn how to install xfsdump
on CentOS 7.
What is xfsdump
The xfsdump package contains xfsdump, xfsrestore and a number of other utilities for administering XFS filesystems. xfsdump examines files in a filesystem, determines which need to be backed up, and copies those files to a specified disk, tape or other storage medium. It uses XFS-specific directives for optimizing the dump of an XFS filesystem, and also knows how to backup XFS extended attributes. Backups created with xfsdump are “endian safe” and can thus be transfered between Linux machines of different architectures and also between IRIX machines. xfsrestore performs the inverse function of xfsdump; it can restore a full backup of a filesystem. Subsequent incremental backups can then be layered on top of the full backup. Single files and directory subtrees may be restored from full or partial backups.
We can use yum
or dnf
to install xfsdump
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install xfsdump.
Install xfsdump on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install xfsdump
using yum
by running the following command:
Install xfsdump 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 xfsdump
using dnf
by running the following command:
How To Uninstall xfsdump on CentOS 7
To uninstall only the xfsdump
package we can use the following command:
References
Summary
In this tutorial we learn how to install xfsdump
on CentOS 7 using yum
and dnf
.