diff --git a/mysqlbu-scripts.sh b/mysqlbu-scripts.sh index b69ad65..9d98a8e 100755 --- a/mysqlbu-scripts.sh +++ b/mysqlbu-scripts.sh @@ -302,8 +302,10 @@ case $1 in DATABASES=$(/usr/bin/mariadb -u ${MYSQLUSER} --password="${MYSQLPASS}" -e "SHOW DATABASES;" | tr -d "| " | grep -v Database) /bin/mariadb --execute "SET GLOBAL wsrep_desync = ON;" for db in $DATABASES; do + echo -en "$(date) - Dumping the '${idsCL[LightCyan]}$db${idsCL[Default]}' table ... " FILE="${DEST_DIR}/$db.sql.gz" /bin/mariadb-dump --single-transaction --routines --master-data --flush-logs --quick -u ${MYSQLUSER} --password="${MYSQLPASS}" -B $db | gzip > "$FILE" + echo -e "${idsCL[Green]}Done${idsCL[Default]}" done /bin/mariadb --execute "SET GLOBAL wsrep_desync = OFF;"