From 7e500042b80c75dc4066fe514e1bc4e46ef861a8 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 8 Jun 2025 22:48:18 -0500 Subject: [PATCH] update --- install.sh | 2 +- mysqlbu-scripts.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index c10cdc2..ca641b2 100755 --- a/install.sh +++ b/install.sh @@ -28,7 +28,7 @@ MYSQLCFG=/etc/mysql/my.cnf BACKUPSTOKEEP=3 BACKUP_DAEMON=/usr/bin/mariabackup # BACKUP_MOUNTED=true -BACKUP_TYPE=both # (xtrabackup, mysqldump, or both) +BACKUP_TYPE=both # (xtrabackup, mariadb-dump, or both) " > /opt/idssys/mysqlbu/settings.conf if [ ! -d "/opt/idssys/defaults" ]; then diff --git a/mysqlbu-scripts.sh b/mysqlbu-scripts.sh index 2394a28..90e063c 100755 --- a/mysqlbu-scripts.sh +++ b/mysqlbu-scripts.sh @@ -3,7 +3,7 @@ action="$1" FOLDER='/opt/idssys/mysqlbu' -VERS='2.9-06082025' +VERS='2.10-06082025' source /opt/idssys/defaults/colors.inc source /opt/idssys/defaults/default.inc @@ -302,7 +302,7 @@ case $1 in DATABASES=$(/usr/bin/mysql -u ${MYSQLUSER} --password="${MYSQLPASS}" -e "SHOW DATABASES;" | tr -d "| " | grep -v Database) for db in $DATABASES; do FILE="${DEST_DIR}/$db.sql.gz" - /usr/bin/mysqldump --single-transaction --routines --quick -u ${MYSQLUSER} --password="${MYSQLPASS}" -B $db | gzip > "$FILE" + /usr/bin/mariadb-dump --single-transaction --routines --quick -u ${MYSQLUSER} --password="${MYSQLPASS}" -B $db | gzip > "$FILE" done ;;