Database Backup
Lightweight, self-hosted database backup container written in Go that automates scheduled PostgreSQL, MariaDB/MySQL, MongoDB, and SQLite backups.
Platform availability
Available on 1 of 10 platforms
- Unraid
- TrueNAS (not listed)
- Umbrel (not listed)
- ZimaOS (not listed)
- Proxmox (not listed)
- Helm (not listed)
- Mac (not listed)
- Windows (not listed)
- Linux (not listed)
- Any server (not listed)
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
45/100 Fair
- Maintained
- 88last commit 7 days ago
- Popular
- 61 GitHub stars
- Easy to install
- 351 install platform, install notes, Docker image
- Light to run
- 108 GB minimum RAM
Availability: platform listings confirmed today, links checked 22 days ago
- GitHub stars
- 1
- Open issues
- 0
- Last commit
- 2026-11-14
- Latest release
- v2.3.2
- License
- MIT
- Activity
- declining
Checked 7 days ago - source: GitHub (Greite/database-backup)
Resources & Compatibility
Minimum requirements: 8 GB RAM, 4 CPU core(s).
Checked 54 days ago - source: Docker Hub image tags and published docs
First-install notes
- Start the database container first If your setup uses Docker Compose (a tool that starts a database container from a configuration file), run the provided docker-compose.yml and wait until the container reports healthy before starting database-backup. If you don't, the app can't reach the database and will fail with connection errors. source
- Fill in the database address and login Set the DSN (the string that points to the right database server and database name), username, and password before creating the connection. If these are missing or wrong, the app can't log in and you'll get connection errors. source
- Validate your configuration before starting Before starting the container, create a backups.yml file with your database connection details and backup settings, then run the built-in validate command to verify the configuration parses correctly and all referenced database clients are available. source
Fetched 47 days ago - each note links to its source
Variants
Alternatives
No alternatives collected yet.
Common questions
Does database-backup require an external cron daemon?
No, it uses an in-process scheduler, so backup scheduling is handled inside the container.
Can one instance back up multiple database types and hosts?
Yes, a single container can back up multiple databases of different types and hosts. It dynamically installs only the database clients needed by the configured jobs at startup.
Does it support file-based SQLite backups?
Yes, SQLite file-based databases are supported, for example Vaultwarden. The dumps are streamed with gzip compression and are timestamped.
Can backups be encrypted at rest?
Optional at-rest encryption supports GPG with symmetric OpenPGP or age with a passphrase or public-key recipients.
How do I validate the YAML configuration before starting the container?
Create the backups.yml file and run the built-in validate command. This checks that the configuration parses correctly and that the referenced database clients are available.
How do I migrate from the v1 backups.conf format?
Use the built-in migration command to convert the v1 backups.conf file to the YAML format.
Answers sourced from github.com
Community
- Self hosted database backup tool : r/selfhosted - Reddit (reddit)
- Suggestions for automatic self-hosted database backups? - Reddit (reddit)
- Backup Files and Database : r/selfhosted - Reddit (reddit)
- Best self-hosted backup soulution. : r/selfhosted - Reddit (reddit)
Collected 48 days ago - public community threads