How To Install cedar-backup3 on Kali Linux
Introduction
In this tutorial we learn how to install cedar-backup3
on Kali Linux.
What is cedar-backup3
cedar-backup3 is:
Cedar Backup 3 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 3 programming language.
This package provides Cedar Backup command-line utilities as well as the CedarBackup3 Python library. The accompanying documentation package (cedar-backup3-doc) contains all of the end-user and library public interface documentation. You really should install cedar-backup3-doc and read through the end-user documentation before using Cedar Backup for the first time.
There are three methods to install cedar-backup3
on Kali Linux. 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-backup3 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-backup3
using apt-get
by running the following command:
sudo apt-get -y install cedar-backup3
Install cedar-backup3 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install cedar-backup3
using apt
by running the following command:
sudo apt -y install cedar-backup3
Install cedar-backup3 Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install cedar-backup3
using aptitude
by running the following command:
sudo aptitude -y install cedar-backup3
How To Uninstall cedar-backup3 on Kali Linux
To uninstall only the cedar-backup3
package we can use the following command:
sudo apt-get remove cedar-backup3
Uninstall cedar-backup3 And Its Dependencies
To uninstall cedar-backup3
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove cedar-backup3
Remove cedar-backup3 Configurations and Data
To remove cedar-backup3
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge cedar-backup3
Remove cedar-backup3 configuration, data, and all of its dependencies
We can use the following command to remove cedar-backup3
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge cedar-backup3
Dependencies
cedar-backup3 have the following dependencies:
References
Summary
In this tutorial we learn how to install cedar-backup3
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.