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 source | Required binary | Provided by |
|---|---|---|
| MySQL | mysqldump | mariadb-client (or mysql-client) |
| PostgreSQL | pg_dump | postgresql-client |
| SQLite | none | Backupman 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