[Helper] Do not use full network name for MySQL backup
parent
68f2a1c5fc
commit
5347009fbb
|
@ -94,7 +94,7 @@ function backup() {
|
||||||
mysql|all)
|
mysql|all)
|
||||||
SQLIMAGE=$(grep -iEo '(mysql|mariadb)\:.+' ${COMPOSE_FILE})
|
SQLIMAGE=$(grep -iEo '(mysql|mariadb)\:.+' ${COMPOSE_FILE})
|
||||||
docker run --rm \
|
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/ \
|
-v $(docker volume ls -qf name=${CMPS_PRJ}_mysql-vol-1):/var/lib/mysql/ \
|
||||||
--entrypoint= \
|
--entrypoint= \
|
||||||
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup \
|
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup \
|
||||||
|
|
Loading…
Reference in New Issue