mariabackup command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mariabackup: command not found
or when using sudo you get the following error message
sudo: mariabackup: command not found
Solutions to mariabackup: command not found
How To Fix mariabackup: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mariabackup is provided by mariadb-backup package.
mariadb-backup is:
This backup tool is guaranteed to be compatible with MariaDB. Based on Xtrabackup, but improved to work with MariaDB.
Please refer to the MariaDB Knowledge Base on more information on how to use this tool.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mariadb-backup
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mariadb-backup.
sudo apt -y install mariadb-backup
Or if you have aptitude installed you can use the following command.
sudo aptitude install mariadb-backup
Summary
In this tutorial we learn how to fix mariabackup command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.