https://github.com/abdullahainun/tenangdb
TenangDB: Automated & secure MySQL backups. Sleep soundly.
https://github.com/abdullahainun/tenangdb
automation backup mysql
Last synced: about 1 month ago
JSON representation
TenangDB: Automated & secure MySQL backups. Sleep soundly.
- Host: GitHub
- URL: https://github.com/abdullahainun/tenangdb
- Owner: abdullahainun
- License: mit
- Created: 2025-07-04T16:40:43.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2026-05-23T06:34:04.000Z (about 1 month ago)
- Last Synced: 2026-05-23T07:33:27.680Z (about 1 month ago)
- Topics: automation, backup, mysql
- Language: Go
- Homepage: https://tenangdb.ainun.cloud
- Size: 945 KB
- Stars: 21
- Watchers: 0
- Forks: 6
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: docs/SECURITY.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
# TenangDB
**Backup yang Bikin Tenang** — MySQL & PostgreSQL backup automation tool.
```bash
# Quick start
cp config.yaml.example config.yaml # edit with your database credentials
docker compose pull # pull pre-built image
docker compose run --rm tenangdb backup --yes
```
## Features
- **Interactive setup** — `docker compose run --rm tenangdb init`
- **Metrics exporter** — Prometheus endpoint at `:9090`
- **Cloud upload** — S3, GCS, Azure via rclone
- **Compression** — tar.gz, tar.zst, tar.xz
- **Scheduling** — cron or systemd timer on the host
## Docs
| Guide | Description |
|-------|-------------|
| [Docker](DOCKER.md) | Setup, networking, volumes |
| [Production](PRODUCTION_DEPLOYMENT.md) | Scheduling, security, monitoring |
| [Commands](docs/COMMANDS.md) | CLI reference |
| [Configuration](config.yaml.example) | Quick config example |
| [Full Reference](docs/CONFIGURATION.md) | All config options |
| [Database User Setup](docs/DATABASE_USER_SETUP.md) | Create MySQL/PostgreSQL users for TenangDB |
## Compatibility
**Platform:** Linux, macOS (dev), Docker (prod)
**MySQL:** 5.7+, 8.0+, MariaDB 10.3+
**PostgreSQL:** 12+ (pg_dump >= server version required)
**Cloud:** 40+ providers via rclone