How To Install backupninja on CentOS 7

In this tutorial we learn how to install backupninja on CentOS 7. backupninja is Lightweight, extensible backup system

Introduction

In this tutorial we learn how to install backupninja on CentOS 7.

What is backupninja

Backupninja allows you to coordinate system backup by dropping a few simple configuration files into /etc/backup.d/. Most programs you might use for making backups don’t have their own configuration file format. Backupninja provides a centralized way to configure and schedule many different backup utilities. It allows for secure, remote, incremental file system backup (via rdiff-backup), compressed incremental data, backup system and hardware info, encrypted remote backups (via duplicity), safe backup of MySQL/PostgreSQL databases, subversion or trac repositories, burn CD/DVDs or create ISOs, incremental rsync with hard-linking.

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

Install backupninja on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install backupninja

Install backupninja 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.

sudo dnf makecache

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

sudo dnf -y install backupninja

How To Uninstall backupninja on CentOS 7

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

sudo dnf remove backupninja

References

Summary

In this tutorial we learn how to install backupninja on CentOS 7 using yum and dnf.