TenangDB
π‘οΈ Backup yang Bikin Tenang - A comprehensive MySQL backup solution that lets you sleep peacefully knowing your databases are safe, automatically backed up, uploaded to cloud storage, and ready for instant restore.
No more worries about database disasters. TenangDB has got you covered.
Why Choose TenangDB?
β
Peace of Mind: Automated daily backups with cloud redundancy
β
Disaster Recovery: One-command restore from any backup point
β
Zero Maintenance: Set it once, runs forever with intelligent cleanup
β
Enterprise Grade: Battle-tested with parallel processing & monitoring
π Quick Start
# 1. Install dependencies
make test-deps
# 2. Build TenangDB
git clone https://github.com/abdullahainun/tenangdb.git
cd tenangdb && make build
# 3. Configure
cp configs/config.yaml /etc/tenangdb/config.yaml
nano /etc/tenangdb/config.yaml # Update your database credentials
# 4. Run your first backup
./tenangdb backup --config /etc/tenangdb/config.yaml
π Basic Commands
# Backup databases
./tenangdb backup --config config.yaml
# Restore database
./tenangdb restore --backup-path /backup/db-2025-07-05_10-30-15 --target-database restored_db
# Cleanup old backups
./tenangdb cleanup --config config.yaml
π Documentation
π― Key Features
- π Dual Backup Engine: mydumper (parallel) + mysqldump (traditional)
- π€ Cloud Integration: Auto-upload to S3, Minio, or any rclone-supported storage
- π One-Click Restore: Instant database recovery from any backup
- π§Ή Smart Cleanup: Age-based cleanup with cloud verification
- π Monitoring Ready: Prometheus metrics + Grafana dashboard
- βοΈ Production Ready: Systemd services, structured logging, security hardening
π€ Support
- π Issues: GitHub Issues
- π Documentation: Check the files in
/docs folder
- π‘ Feature Requests: Open an issue with enhancement label
π License
MIT License - See LICENSE file for details