refs #8869 fix delete differential glob pattern

This commit is contained in:
Juan Ferrer 2025-04-07 13:24:14 +00:00
parent 3dae1cb8dc
commit 15c0cf2cce
1 changed files with 1 additions and 1 deletions

View File

@ -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