Database client setup

As most databases require strong compatibility between the client and the server, Snaper relies on the database client installed on your server.

For this reason, you need to install the database client on your server before using Snaper to back up and restore your databases.

MySQL
PostgreSQL
MongoDB

Install

Install the MySQL client by running the following command:

sudo apt update
sudo apt install mariadb-client # or "mysql-client" if not available

Verify installation

Ensure your client is properly installed by running:

mysql --version

Install

Install the PostgreSQL client by running the following command:

sudo apt update
sudo apt install postgres

Verify installation

Ensure your client is properly installed by running:

psql --version

Install

Follow the official documentation to install the MongoDB client:

You can find binaries for most operating systems and distributions in the MongoDB Download Center

Verify installation

Ensure your client is properly installed by running:

mongodump --version