Skip to main content

Manual Installation

You have several options to install Backupman on your system.

Requirements

Backupman creates dumps using the official client tool of each database. When installing Backupman manually, make sure the binary required by the data sources you back up is available in your PATH:

Data sourceRequired binaryProvided by
MySQLmysqldumpmariadb-client (or mysql-client)
PostgreSQLpg_dumppostgresql-client
SQLitenoneBackupman copies the database file directly
tip

The Docker image already bundles mysqldump and pg_dump, so this step only applies to manual installations.

warning

pg_dump cannot dump from a PostgreSQL server that is newer than itself. Install a client version that is greater than or equal to your server version.

Prebuilt binaries

You can download prebuilt binaries for your platform from the releases page.

tar xvf backupman-<version>.tar.gz
chmod +x ./backupman
./backupman version
Output
Version: x.x.x
Commit SHA: xxx
Build Date: xxx

Build from source

To build Backupman from source:

git clone https://github.com/heryTz/backupman.git
cd backupman
go build -o backupman
./backupman version
Output
Version: x.x.x
Commit SHA: xxx
Build Date: xxx