From 5347009fbb16e589e19c350fcf537ee6a6247744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Tue, 23 Oct 2018 11:07:27 +0200 Subject: [PATCH] [Helper] Do not use full network name for MySQL backup --- helper-scripts/backup_and_restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper-scripts/backup_and_restore.sh b/helper-scripts/backup_and_restore.sh index 7efdcf2e..ca00934e 100755 --- a/helper-scripts/backup_and_restore.sh +++ b/helper-scripts/backup_and_restore.sh @@ -94,7 +94,7 @@ function backup() { mysql|all) SQLIMAGE=$(grep -iEo '(mysql|mariadb)\:.+' ${COMPOSE_FILE}) docker run --rm \ - --network $(docker network ls -qf name=${CMPS_PRJ}_mailcow-network) \ + --network $(docker network ls -qf name=${CMPS_PRJ}_) \ -v $(docker volume ls -qf name=${CMPS_PRJ}_mysql-vol-1):/var/lib/mysql/ \ --entrypoint= \ -v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup \