mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-20 04:59:27 +02:00
[Helper] Do not use full network name for MySQL backup
This commit is contained in:
parent
68f2a1c5fc
commit
5347009fbb
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user