added output when dumping db
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Niklas 2021-03-30 22:15:57 +02:00
parent 786a6f9f7e
commit 1501de6a2f

View File

@ -10,6 +10,7 @@ mkdir -p /backup/sqlDump
for db in ${MYSQL_DUMP_DB//,/ }
do
echo "Dumping db: $db"
mysqldump --compact -P 3306 --host $MYSQL_HOST -u "$MYSQL_USERNAME" "-p$MYSQL_PASSWORD" "$db" > "/backup/sqlDump/$db.sql"
done