How To Install xfsdump.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install xfsdump.x86_64
on Amazon Linux 2.
What is xfsdump.x86_64
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
to install xfsdump.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install xfsdump.x86_64.
Install xfsdump.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install xfsdump.x86_64
using yum
by running the following command:
sudo yum -y install xfsdump.x86_64
How To Uninstall xfsdump.x86_64 on Amazon Linux 2
To uninstall only the xfsdump.x86_64
package we can use the following command:
sudo yum remove xfsdump.x86_64
xfsdump.x86_64 Package Contents on Amazon Linux 2
/usr/sbin/xfsdump
/usr/sbin/xfsinvutil
/usr/sbin/xfsrestore
/usr/share/doc/xfsdump-3.1.8
/usr/share/doc/xfsdump-3.1.8/CHANGES
/usr/share/doc/xfsdump-3.1.8/COPYING
/usr/share/doc/xfsdump-3.1.8/README
/usr/share/doc/xfsdump-3.1.8/README.xfsdump
/usr/share/doc/xfsdump-3.1.8/xfsdump_ts.txt
/usr/share/locale/de/LC_MESSAGES/xfsdump.mo
/usr/share/locale/pl/LC_MESSAGES/xfsdump.mo
/usr/share/man/man8/xfsdump.8.gz
/usr/share/man/man8/xfsinvutil.8.gz
/usr/share/man/man8/xfsrestore.8.gz
/var/lib/xfsdump/inventory
References
Summary
In this tutorial we learn how to install xfsdump.x86_64
on Amazon Linux 2 using yum.