How To Install automysqlbackup on Kali Linux

In this tutorial we learn how to install automysqlbackup on Kali Linux. automysqlbackup is daily, weekly and monthly backup for your MySQL database

Introduction

In this tutorial we learn how to install automysqlbackup on Kali Linux.

What is automysqlbackup

automysqlbackup is:

automysqlbackup creates backup every day, week and month for all of your MySQL database, to a configured folder. There’s nothing to do but to install this package, and you’ll rest assured that you have a way to go back in the history of your database.

This package may be unsafe if untrusted users may create databases and if no check on the syntax of the name of them is performed.

There are three methods to install automysqlbackup 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 automysqlbackup Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install automysqlbackup

Install automysqlbackup Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install automysqlbackup

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

sudo aptitude -y install automysqlbackup

How To Uninstall automysqlbackup on Kali Linux

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

sudo apt-get remove automysqlbackup

Uninstall automysqlbackup And Its Dependencies

To uninstall automysqlbackup and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove automysqlbackup

Remove automysqlbackup Configurations and Data

To remove automysqlbackup configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge automysqlbackup

Remove automysqlbackup configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge automysqlbackup

Dependencies

automysqlbackup have the following dependencies:

References

Summary

In this tutorial we learn how to install automysqlbackup package on Kali Linux using different package management tools: apt, apt-get and aptitude.