How To Install xfsdump on AlmaLinux 8
Introduction
In this tutorial we learn how to install xfsdump
on AlmaLinux 8.
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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install xfsdump.
Install xfsdump on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install xfsdump
using dnf
by running the following command:
sudo dnf -y install xfsdump
Install xfsdump on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install xfsdump
using yum
by running the following command:
sudo yum -y install xfsdump
How To Uninstall xfsdump on AlmaLinux 8
To uninstall only the xfsdump
package we can use the following command:
sudo dnf remove xfsdump
References
Summary
In this tutorial we learn how to install xfsdump
on AlmaLinux 8 using yum and dnf.