How To Install flexbackup on Debian 11

In this tutorial we learn how to install flexbackup on Debian 11. flexbackup is Flexible backup tool for small to medium sized installations

Introduction

In this tutorial we learn how to install flexbackup on Debian 11.

What is flexbackup

flexbackup is:

Flexbackup is a flexible backup tool that works well for small to medium sized tasks for which solutions like amanda are overkill.

It features:

  • Easy configuration
  • Uses afio, dump, GNU tar, cpio, star, pax, lha, or zip archivers
  • Full and numbered levels of incremental backup (similar to “dump”)
  • Compression and buffering options for all backup types
  • Handles remote filesystems with ssh/rsh; no special services required
  • Writes to tapes, on-disk archive files, or on-disk directory trees
  • Keeps a table of contents so you know what archives are on each tape
  • Extensive logging options

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

Install flexbackup Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install flexbackup

Install flexbackup Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install flexbackup

Install flexbackup 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 flexbackup using aptitude by running the following command:

sudo aptitude -y install flexbackup

How To Uninstall flexbackup on Debian 11

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

sudo apt-get remove flexbackup

Uninstall flexbackup And Its Dependencies

To uninstall flexbackup and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove flexbackup

Remove flexbackup Configurations and Data

To remove flexbackup configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge flexbackup

Remove flexbackup configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge flexbackup

Dependencies

flexbackup have the following dependencies:

References

Summary

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