Show HN: I vibe coded an open-source Go app to back up DBs using Docker labels https://ift.tt/vBslfw9

Show HN: I vibe coded an open-source Go app to back up DBs using Docker labels https://ift.tt/vBslfw9

Show HN: I vibe coded an open-source Go app to back up DBs using Docker labels Hey HN, I'm excited to share Label Backup, an open-source project I developed. This tool, written in Go, automates backups for databases running in your Docker containers using simple container labels. I built this with vibe coding. How it Works: - You add a few descriptive labels to your containers that run databases you want to back up (e.g., backup.enabled=true, backup.type=postgres, backup.cron="0 2 * * *", backup.conn=..., or backup.type=volume, backup.path=/my/data). - Label Backup, running as a separate container, automatically discovers these, then schedules and performs backups for: - PostgreSQL databases - MySQL databases - MongoDB databases - Redis data - Backups can be streamed to local storage or any S3-compatible service (such as AWS S3, MinIO, or Cloudflare R2). - Key features include on-the-fly Gzip compression, configurable retention policies, and webhook notifications for backup status. My main goal was to build something lightweight, easy to configure, and reliable, aiming for a tool that (I hope!) feels smooth and intuitive to use. You can find the source code, a detailed README, and a docker-compose.yml for a complete test environment on GitHub: https://ift.tt/RK40VAr The Docker Hub image is available at: resulgg/label-backup I'd love to hear your thoughts and feedback. https://ift.tt/RK40VAr May 16, 2025 at 07:53PM

Related Articles

0 Comments: