Installation
How to install OpsVault on a Linux server.
Automated installer
The quickest way to install OpsVault is with the one-line installer. It downloads the binary, optionally installs pg_dump, mysqldump, and rclone, sets up the config, and installs the systemd service — all interactively.
curl -fsSL https://get.opsvault.dev | sudo bashThe installer will:
- Download the correct binary for your architecture (amd64 or arm64)
- Ask whether to install
pg_dump,mysqldump, andrclone - Create
/etc/opsvault/config.yamlif it doesn't exist - Ask whether to install OpsVault as a systemd service
- Set up shell completions for bash, zsh, and fish
After the installer finishes, configure your databases with the wizard and run your first backup:
opsvault config wizard # interactive TUI — add databases, storage, notifications
opsvault config validate # confirm the config is valid
opsvault backup run # run a test backupManual installation
Prefer to install step by step? Follow the sections below.
Requirements
| Requirement | Notes |
|---|---|
| Linux x86_64 or arm64 | Tested on Ubuntu 20.04+, Debian 11+, Rocky Linux 8+ |
| Root or sudo access | Required for service installation |
mysqldump | Only if backing up MySQL databases |
pg_dump | Only if backing up PostgreSQL databases |
rclone | Only if uploading to remote storage |
Run opsvault doctor after installation to check which tools are missing.
Install the binary
Download the latest release for your architecture:
# x86_64 (most servers)
curl -L https://github.com/ArdaGnsrn/opsvault/releases/latest/download/opsvault-linux-amd64 \
-o /usr/local/bin/opsvault
# ARM64 (e.g. Raspberry Pi, Oracle Ampere)
curl -L https://github.com/ArdaGnsrn/opsvault/releases/latest/download/opsvault-linux-arm64 \
-o /usr/local/bin/opsvault
chmod +x /usr/local/bin/opsvaultVerify the installation:
opsvault versionInstall database clients
# Debian / Ubuntu
apt-get install -y postgresql-client
# RHEL / Rocky / AlmaLinux
dnf install -y postgresql# Debian / Ubuntu
apt-get install -y default-mysql-client
# RHEL / Rocky / AlmaLinux
dnf install -y mysqlInstall rclone
rclone is required for remote storage uploads. Skip this if you only want local backups.
curl https://rclone.org/install.sh | sudo bashAfter installing rclone, configure a remote:
rclone configSee the rclone setup guide for a step-by-step walkthrough.
Verify everything
opsvault doctorExpected output when all tools are present:
Checking dependencies...
✓ pg_dump /usr/bin/pg_dump
✓ mysqldump /usr/bin/mysqldump
✓ rclone /usr/bin/rclone
All tools found. OpsVault is ready.Uninstall
opsvault service uninstall # remove systemd service
rm /usr/local/bin/opsvault
rm -rf /etc/opsvault