1
0
Fork
You've already forked docker-db-dump
0
Creates a consistent backup for all databases in locally running docker containers.
  • Shell 100%
2024年07月16日 09:00:14 +02:00
docker-db-dump.sh feat: add short command description to --help 2024年07月16日 08:59:44 +02:00
LICENSE feat: license project unter MIT 2024年07月15日 15:37:50 +02:00
README.md docs: project description and usage 2024年07月16日 09:00:14 +02:00

Docker Database Exporter

$ ./docker-db-dump.sh --help
Usage: docker-db-dump.sh [flags]
Create consistent backups for all databases in locally running containers.
 -c, --container <name> Add container to the list of backup-tasks.
 -s, --skip <name> Do not warn that the container is not backed up.
 -d, --backup-dir <path> Directory to store backups. Default: ./_db_backups
 -n, --keep <count> Number of backups to keep per container. Default: 4
 --ping <url> Send a heartbeat after the command ran.
 --ping-error <url> Send a heartbeat if the command (partially) failed.
 --ping-success <url> Send a heartbeat if the command succeeded.
 -h, --help Print this help message and exit.
 -v, --verbose Increase logging.

Goal of this project is to create a consistent backup of databases running in Docker containers while they are still running. This is usefull for having production setups utilizing container technology that should have a relatively high uptime.