Skip to content

Commit

Permalink
MariaDB image stopped providing mysqldump shim, use plain name
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 committed Jan 6, 2025
1 parent 49b8d2f commit 4799795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/recipes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ volumes:
data:
```
## Using mysqldump to prepare the backup
## Using mariadb-dump/mysqldump to prepare the backup
```yml
version: '3'
Expand All @@ -347,7 +347,7 @@ services:
database:
image: mariadb:latest
labels:
- docker-volume-backup.archive-pre=/bin/sh -c 'mysqldump -psecret --all-databases > /tmp/dumps/dump.sql'
- docker-volume-backup.archive-pre=/bin/sh -c 'mariadb-dump -psecret --all-databases > /tmp/dumps/dump.sql'
volumes:
- data:/tmp/dumps
backup:
Expand Down

0 comments on commit 4799795

Please sign in to comment.