From af2f76d9db18fc8af1ea7b7f0f2b04ed83c07346 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 5 Jun 2026 23:01:59 +0200 Subject: [PATCH] Fix: mariadb-dump --skip-lock-tables --force for missing tables --- update-Nitrov3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-Nitrov3.sh b/update-Nitrov3.sh index 9aea9b6..703c7f5 100755 --- a/update-Nitrov3.sh +++ b/update-Nitrov3.sh @@ -48,7 +48,7 @@ git pull # --- Automatic Safe Database Backup --- echo "--> Creating automatic database backup before update..." mkdir -p "$BACKUP_DIR" -mariadb-dump $MYSQL_CRED "$DB_NAME" > "$BACKUP_DIR/backup_$(date +%Y%m%d_%H%M%S).sql" +mariadb-dump $MYSQL_CRED --force --skip-lock-tables "$DB_NAME" > "$BACKUP_DIR/backup_$(date +%Y%m%d_%H%M%S).sql" # --- Automatic SQL Import --- echo "--> Checking for new SQL files..."