mariadb backup
This commit is contained in:
parent
5dcad556c9
commit
5d6e1b291c
@ -268,7 +268,7 @@
|
|||||||
DAYS=7
|
DAYS=7
|
||||||
|
|
||||||
TIMESTAMP=$(date +"%Y%m%d%H%M")
|
TIMESTAMP=$(date +"%Y%m%d%H%M")
|
||||||
CONTAINER=$(docker ps --format \{\{.Names\}\}:\{\{.Image\}\}| grep 'mysql\|mariadb' | cut -d":" -f1 | grep -v mailcow)
|
CONTAINER=$(docker ps --format \{\{.Names\}\}:\{\{.Image\}\} | egrep -v '^mysql|^mariadb' | egrep 'mysql|mariadb' | cut -d":" -f1 | grep -v mailcow)
|
||||||
|
|
||||||
mkdir -p $BACKUPDIR
|
mkdir -p $BACKUPDIR
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user