From 3e8f3c6b9d46636b94266d55af4b6fe11d5dff64 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 12 Sep 2025 18:11:48 -0500 Subject: [PATCH] Update mysqlbu-scripts.sh --- mysqlbu-scripts.sh | 2 ++ 1 file changed, 2 insertions(+) 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;"