How To Install xfsdump on Fedora 34
Introduction
In this tutorial we learn how to install xfsdump
on Fedora 34.
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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install xfsdump.
Install xfsdump on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install xfsdump
using dnf
by running the following command:
sudo dnf -y install xfsdump
Install xfsdump on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
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 Fedora 34
To uninstall only the xfsdump
package we can use the following command:
sudo dnf remove xfsdump
xfsdump Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/0d292f3b26ad2642143f0b5a46ef56bf5c6308
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/553eecb746f0fd45393266909401c118211fff
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/f3a0515618bf20ca9e6518e201bbc21282e928
/usr/sbin/xfsdump
/usr/sbin/xfsinvutil
/usr/sbin/xfsrestore
/usr/share/doc/xfsdump
/usr/share/doc/xfsdump/CHANGES
/usr/share/doc/xfsdump/COPYING
/usr/share/doc/xfsdump/README
/usr/share/doc/xfsdump/README.xfsdump
/usr/share/doc/xfsdump/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
on Fedora 34 using yum and dnf.