database-backup
ghcr.io/greite/database-backup:latest
https://github.com/Greite/database-backup/pkgs/container/database-backup
latest
Latest stable release (multi-arch: amd64, arm64)
bridge
bash
false
https://github.com/Greite/database-backup/issues
https://github.com/Greite/database-backup
https://github.com/Greite/database-backup/blob/main/README.md
Lightweight Debian Slim image to automate PostgreSQL (12-18), MariaDB/MySQL, and MongoDB backups via cron.
Features:
- Dynamic client install at startup: only required tools are installed based on your config
- Flexible cron scheduling per backup job
- Automatic gzip compression (.sql.gz / .tar.gz) and timestamped files
- Configurable per-job retention with automatic rotation of old dumps
- Multiple databases (different types and hosts) handled by a single container
- Built-in healthcheck verifying connectivity to every configured database
- Multi-architecture (amd64, arm64) and auto-rebuilt on base image security updates
Setup:
1. Copy backups.conf.example to your appdata directory and rename to backups.conf
2. Edit backups.conf with your databases (one job per line, pipe-delimited)
3. Map the file to /config/backups.conf and a host folder to /backups
See the project README for full configuration syntax and examples.
Backup: Tools: Status:Stable
https://raw.githubusercontent.com/Greite/unraid-templates/main/database-backup/database-backup.xml
https://raw.githubusercontent.com/Greite/database-backup/main/public/images/mark.png
/mnt/user/appdata/database-backup/backups
/mnt/user/appdata/database-backup/backups.conf