[Helper] Do not use full network name for MySQL backup
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…
Reference in New Issue