How To Install dump on CentOS 8

dump is Programs for backing up and restoring ext2/ext3/ext4 filesystems

Introduction

In this tutorial we learn how to install dump on CentOS 8.

What is dump

The dump package contains both dump and restore. Dump examines files in a filesystem, determines which ones need to be backed up, and copies those files to a specified disk, tape, or other storage medium. The restore command performs the inverse function of dump; 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 also be restored from full or partial backups. Install dump if you need a system for both backing up filesystems and restoring filesystems after backups.

We can use yum or dnf to install dump on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install dump.

Install dump on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install dump using dnf by running the following command:

sudo dnf -y install dump

Install dump on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install dump using yum by running the following command:

sudo yum -y install dump

How To Uninstall dump on CentOS 8

To uninstall only the dump package we can use the following command:

sudo dnf remove dump

dump Package Contents on CentOS 8

/etc/dumpdates
/usr/lib/.build-id
/usr/lib/.build-id/45
/usr/lib/.build-id/45/1741680d96c88bccb2d27c5c6cc843b4ac0eb6
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/8eb9273e6a53e5910d9ea2e1612bcb59306bb7
/usr/sbin/dump
/usr/sbin/rdump
/usr/sbin/restore
/usr/sbin/rrestore
/usr/share/doc/dump
/usr/share/doc/dump/AUTHORS
/usr/share/doc/dump/COPYING
/usr/share/doc/dump/INSTALL
/usr/share/doc/dump/KNOWNBUGS
/usr/share/doc/dump/MAINTAINERS
/usr/share/doc/dump/NEWS
/usr/share/doc/dump/README
/usr/share/doc/dump/REPORTING-BUGS
/usr/share/doc/dump/TODO
/usr/share/doc/dump/dump.lsm
/usr/share/man/man8/dump.8.gz
/usr/share/man/man8/rdump.8.gz
/usr/share/man/man8/restore.8.gz
/usr/share/man/man8/rrestore.8.gz

References

Summary

In this tutorial we learn how to install dump on CentOS 8 using yum and dnf.