From 4799795f0a04a719224b08424872b3453a7458c2 Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Mon, 6 Jan 2025 20:07:35 +0100 Subject: [PATCH] MariaDB image stopped providing mysqldump shim, use plain name --- docs/recipes/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/recipes/index.md b/docs/recipes/index.md index 2165ae3..14f40f7 100644 --- a/docs/recipes/index.md +++ b/docs/recipes/index.md @@ -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: