refs #8869 fix delete differential glob pattern
This commit is contained in:
parent
3dae1cb8dc
commit
15c0cf2cce
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue