Update mysqlbu-scripts.sh

This commit is contained in:
2019-01-07 10:45:34 -06:00
parent 5a1142bc9f
commit 743084a1c1

View File

@@ -63,9 +63,8 @@ DELETE_BACKUP() {
echo -e "Backup selected: ${idsCL[Red]}${idsST[Bold]}`date -d"${sbu1a[4]} ${sbu1a[5]//-/:}" +"%A, %B %d, %Y - %I:%M %P"`${idsST[Reset]} ${idsCL[Red]}(${bsz})${idsCL[Default]}"
fi
echo $sbu1
echo ""
if [ ${#1} = 1 ] || [ ${sbu1: -5} = "_BASE" ]; then
if [ ${#1} = 1 ] || [ $!{sbu1: -5} = "_BASE" ]; then
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]}"
else