automysqlbackup command not found

In this troubleshooting guide we learn how to fix automysqlbackup command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

automysqlbackup: command not found

or when using sudo you get the following error message

sudo: automysqlbackup: command not found

Solutions to automysqlbackup: command not found

How To Fix automysqlbackup: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu automysqlbackup is provided by automysqlbackup package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install automysqlbackup

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install automysqlbackup.

sudo apt -y install automysqlbackup

Or if you have aptitude installed you can use the following command.

sudo aptitude install automysqlbackup

Summary

In this tutorial we learn how to fix automysqlbackup command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.