Hasty Briefsbeta

Bilingual

Show HN: I vibe coded an open-source Go app to back up DBs using Docker labels

a year ago
  • #database
  • #backup
  • #docker
  • Label Backup is a Docker-aware backup agent that automatically discovers and backs up containerized databases using Docker labels.
  • It supports multiple database engines including PostgreSQL, MySQL, MongoDB, and Redis.
  • Backups can be scheduled using cron expressions and stored locally or on Amazon S3/S3-compatible services.
  • Features include automatic discovery, flexible scheduling, compression, webhook notifications, and retention policies.
  • Configuration is done via Docker labels and environment variables, with per-container overrides available.
  • Example docker-compose.yml provided for setting up Label Backup alongside database services.
  • Can be run as a standalone container using docker run with necessary volume mounts and environment variables.
  • Supports MySQL 8.x compatibility by configuring mysql_native_password as the default authentication plugin.
  • Open-source under MIT License, contributions welcome.