From 15c0cf2cce251f46d3926ec5518af145932433a6 Mon Sep 17 00:00:00 2001 From: Juan Ferrer <juan@verdnatura.es> Date: Mon, 7 Apr 2025 13:24:14 +0000 Subject: [PATCH] refs #8869 fix delete differential glob pattern --- roles/db/files/mariabackup/make-backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/db/files/mariabackup/make-backup.sh b/roles/db/files/mariabackup/make-backup.sh index 91e1963..41d4c37 100644 --- a/roles/db/files/mariabackup/make-backup.sh +++ b/roles/db/files/mariabackup/make-backup.sh @@ -91,7 +91,7 @@ case "$level" in incrementalFile="$backupDir/${incrementalName}.gz" if [ "$level" = "Differential" ]; then - rm -rf "$backupDir/${curDate}_"??-??_diff_??-?? + rm -rf "$backupDir/${curDate}_"??-??_diff_??-??{,.gz} fi if [ -z "$historyName" ]; then historyName=$incrementalName