mirror of
https://github.com/offen/docker-volume-backup.git
synced 2025-01-22 04:30:24 +01:00
MariaDB image stopped providing mysqldump shim, use plain name
This commit is contained in:
parent
49b8d2f8d8
commit
4799795f0a
@ -338,7 +338,7 @@ volumes:
|
||||
data:
|
||||
```
|
||||
|
||||
## Using mysqldump to prepare the backup
|
||||
## Using mariadb-dump/mysqldump to prepare the backup
|
||||
|
||||
```yml
|
||||
version: '3'
|
||||
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user