3
0
mirror of https://kolaente.dev/konrad/docker-db-backup.git synced 2026-01-10 21:20:08 +01:00

docs: fix backups volume mount in example

This commit is contained in:
kolaente
2022-01-08 12:23:21 +01:00
parent 9f6620da11
commit 1e05d4966b

View File

@@ -11,7 +11,7 @@ Successor to [this script](https://kolaente.dev/konrad/docker-database-backup).
Simply point it at your docker socket, mount a backup volume and be done: Simply point it at your docker socket, mount a backup volume and be done:
``` ```
docker run -v $PWD:/backups -v /var/run/docker.sock:/var/run/docker.sock kolaente/db-backup docker run -v $PWD/backups:/backups -v /var/run/docker.sock:/var/run/docker.sock kolaente/db-backup
``` ```
The tool will find all database containers and create backups of them periodically. It will also discover new containers The tool will find all database containers and create backups of them periodically. It will also discover new containers