tenangdb

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2025 License: MIT

README ΒΆ

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

Directories ΒΆ

Path Synopsis
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL