Update mysqlbu-scripts.sh

This commit is contained in:
2019-01-07 21:04:43 -06:00
parent a7b3a50067
commit b3d6cf111e

View File

@@ -64,9 +64,9 @@ DELETE_BACKUP() {
fi fi
echo "" echo ""
echo "here: '${sbu1a: -5}'" echo "here: '${sbu1a:-5}'"
echo "" echo ""
if [ ${#1} = 1 ] || [ ${sbu1a: -5} = "_BASE" ]; then if [ ${#1} = 1 ] || [ ${sbu1a:-5} = "_BASE" ]; then
echo -e "${idsCL[Red]}(This is a daily base backup, and will result in the full day being DELETED.)"${idsCL[Default]} echo -e "${idsCL[Red]}(This is a daily base backup, and will result in the full day being DELETED.)"${idsCL[Default]}
delbu="/${sbu1a[1]}/${sbu1a[2]}/${sbu1a[3]}/${sbu1a[4]}" delbu="/${sbu1a[1]}/${sbu1a[2]}/${sbu1a[3]}/${sbu1a[4]}"
else else