How To Install cedar-backup2 on Debian 10

Learn how to install cedar-backup2 on Debian 10 with this tutorial. cedar-backup2 is local and remote backups to CD/DVD media or Amazon S3 storage

Introduction

In this tutorial we learn how to install cedar-backup2 on Debian 10.

What is cedar-backup2

cedar-backup2 is:

Cedar Backup 2 is a software package designed to manage system backups for a pool of local and remote machines. Cedar Backup understands how to back up filesystem data as well as MySQL and PostgreSQL databases and Subversion repositories. It can also be easily extended to support other kinds of data sources.

Cedar Backup is focused around weekly backups to a single CD or DVD disc, with the expectation that the disc will be changed or overwritten at the beginning of each week. If your hardware is new enough, Cedar Backup can write multisession discs, allowing you to add incremental data to a disc on a daily basis.

Alternately, Cedar Backup can write your backups to the Amazon S3 cloud rather than relying on physical media.

Besides offering command-line utilities to manage the backup process, Cedar Backup provides a well-organized library of backup-related functionality, written in the Python 2 programming language.

This package provides Cedar Backup command-line utilities as well as the CedarBackup2 Python library. The accompanying documentation package (cedar-backup2-doc) contains all of the end-user and library public interface documentation. You really should install cedar-backup2-doc and read through the end-user documentation before using Cedar Backup for the first time.

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

Install cedar-backup2 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install cedar-backup2

Install cedar-backup2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install cedar-backup2

Install cedar-backup2 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install cedar-backup2

How To Uninstall cedar-backup2 on Debian 10

To uninstall only the cedar-backup2 package we can use the following command:

sudo apt-get remove cedar-backup2

Uninstall cedar-backup2 And Its Dependencies

To uninstall cedar-backup2 and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove cedar-backup2

Remove cedar-backup2 Configurations and Data

To remove cedar-backup2 configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge cedar-backup2

Remove cedar-backup2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge cedar-backup2

Dependencies

cedar-backup2 have the following dependencies:

References

Summary

In this tutorial we learn how to install cedar-backup2 package on Debian 10 using different package management tools: apt, apt-get and aptitude.