How To Install rsbackup on Ubuntu 18.04

In this tutorial we learn how to install rsbackup on Ubuntu 18.04. rsbackup is rsync-based backup utility

Introduction

In this tutorial we learn how to install rsbackup on Ubuntu 18.04.

What is rsbackup

rsbackup is:

Backups are stored as complete filesystem trees on a (perhaps external) hard disk. Multiple backups use hard links between identical files to save space.

Backups may be taken from multiple machines (over SSH) and stored to multiple disks.

Backups may be made automatically, i.e. without relying on the operator to remember to make a backup.

There are three methods to install rsbackup on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install rsbackup Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install rsbackup using apt-get by running the following command:

sudo apt-get -y install rsbackup

Install rsbackup Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install rsbackup using apt by running the following command:

sudo apt -y install rsbackup

Install rsbackup Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install rsbackup using aptitude by running the following command:

sudo aptitude -y install rsbackup

How To Uninstall rsbackup on Ubuntu 18.04

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

sudo apt-get remove rsbackup

Uninstall rsbackup And Its Dependencies

To uninstall rsbackup and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove rsbackup

Remove rsbackup Configurations and Data

To remove rsbackup configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge rsbackup

Remove rsbackup configuration, data, and all of its dependencies

We can use the following command to remove rsbackup configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge rsbackup

References

Summary

In this tutorial we learn how to install rsbackup package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.