Menu

1 / 4

I Tired of Trusting Bash Scripts With My Backups

DEV Community·nomad4tech·7 months ago
#d3EbUP2V
#why#devops#docker#opensource#backup
Reading 0:00
15s threshold

TL;DR: I created a self-hosted web UI tool for PostgreSQL/MySQL/MariaDB backups from Docker containers. Auto-discovers containers, runs dumps inside them (so pg_dump always matches your DB version), no credentials in config files. Free, MIT licensed, Linux only

One docker compose up - your databases, backed up

GitHub: https://github.com/nomad4tech/backup-manager

Docker Hub: https://hub.docker.com/r/nomad4tech/backup-manager

Short Demo: https://youtu.be/3rXkPmOpDNc

How I got here

I've used and seen others use bash scripts for backups. Usually it's a massive script, or a set of scripts and pipelines - at minimum: create a dump, compress it, upload to S3, delete old files. All wired up via cron or systemd.

I've watched this approach fail in ways that hurt:

someone deleted the crontab.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.