How To Install backupninja on Fedora 36

In this tutorial we learn how to install backupninja in Fedora 36. backupninja is Lightweight, extensible backup system

Introduction

In this tutorial we learn how to install backupninja on Fedora 36.

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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install backupninja.

Install backupninja on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install backupninja

Install backupninja on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install backupninja

How To Uninstall backupninja on Fedora 36

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

sudo dnf remove backupninja

backupninja Package Contents on Fedora 36

/etc/backup.d
/etc/backupninja.conf
/etc/cron.d/backupninja
/etc/logrotate.d/backupninja
/usr/libexec/backupninja
/usr/libexec/backupninja/easydialog
/usr/libexec/backupninja/parseini
/usr/libexec/backupninja/tools
/usr/libexec/backupninja/vserver
/usr/sbin/backupninja
/usr/sbin/ninjahelper
/usr/share/backupninja
/usr/share/backupninja/borg
/usr/share/backupninja/borg.helper
/usr/share/backupninja/dup
/usr/share/backupninja/dup.helper
/usr/share/backupninja/example.borg
/usr/share/backupninja/example.dup
/usr/share/backupninja/example.maildir
/usr/share/backupninja/example.makecd
/usr/share/backupninja/example.mysql
/usr/share/backupninja/example.pgsql
/usr/share/backupninja/example.rdiff
/usr/share/backupninja/example.rsync
/usr/share/backupninja/example.sh
/usr/share/backupninja/example.svn
/usr/share/backupninja/example.sys
/usr/share/backupninja/example.trac
/usr/share/backupninja/maildir
/usr/share/backupninja/makecd
/usr/share/backupninja/makecd.helper
/usr/share/backupninja/mysql
/usr/share/backupninja/mysql.helper
/usr/share/backupninja/pgsql
/usr/share/backupninja/pgsql.helper
/usr/share/backupninja/rdiff
/usr/share/backupninja/rdiff.helper
/usr/share/backupninja/rsync
/usr/share/backupninja/sh
/usr/share/backupninja/svn
/usr/share/backupninja/sys
/usr/share/backupninja/sys.helper
/usr/share/backupninja/tar
/usr/share/backupninja/tar.helper
/usr/share/backupninja/trac
/usr/share/doc/backupninja
/usr/share/doc/backupninja/AUTHORS
/usr/share/doc/backupninja/ChangeLog
/usr/share/doc/backupninja/FAQ.md
/usr/share/doc/backupninja/NEWS
/usr/share/doc/backupninja/README.md
/usr/share/doc/backupninja/TODO
/usr/share/licenses/backupninja
/usr/share/licenses/backupninja/COPYING
/usr/share/man/man1/backupninja.1.gz
/usr/share/man/man1/ninjahelper.1.gz
/usr/share/man/man5/backup.d.5.gz
/usr/share/man/man5/backupninja.conf.5.gz

References

Summary

In this tutorial we learn how to install backupninja on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).