added output when dumping db
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
786a6f9f7e
commit
1501de6a2f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user