
Deploy Mysql-Backup on Your Own Server
mysql-backup is a simple way to do MySQL database backups and restores when the database is running in a container.
Want to deploy Mysql-Backup on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is Mysql-Backup?
This installation just aims to create the initial container, you should at the end revise the documentation (https://hub.docker.com/r/databack/mysql-backup) and set the extra environment parameters that fit your needs. Such as scheduling and to where you want to send your backups (AWS, SMB, etc)
Self-Host Mysql-Backup
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
General
Deploy
Copy the configuration and run it on your server.
services:
mysql_backup-db:
image: databack/mysql-backup:v0.11.0
environment:
DB_PASS: ""
DB_PORT: "3306"
DB_SERVER: <service_name>
DB_USER: root
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:80
Why Self-Host Mysql-Backup?
Full Data Ownership
Your data stays on your servers. No third-party access.
No Monthly Fees
Pay only for your server. No per-seat or usage charges.
Complete Control
Customize, backup, and scale on your own terms.
Privacy & Compliance
Meet GDPR, HIPAA, or internal security requirements.
Technical Details
Docker Image
databack/mysql-backup:${mysql_backup_version}Want to go faster?
Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.
Install on any Linux server:
sh -c "$(curl -sSL https://get.senate.sh)"