Update mysqlbu-scripts.sh

This commit is contained in:
2019-01-07 09:13:06 -06:00
parent cfb8494f46
commit 2c9dd86ad8

View File

@@ -42,14 +42,13 @@ DELETE_BACKUP() {
tbus[${tba}]=$day
tbb=0
for hour in $day/* ; do
echo -e "${idsCL[Cyan]}(${tba}${abet[${tbb}]}) -> `date -d"${tdt} ${thr//-/:}" +"%I:%M %P"` - Incremental - ${bsz}${idsCL[Default]}"
tbus[${tba}${abet[${tbb}]}]=$hour
tbb=`expr $tbb + 1`
done
tba=`expr $tba + 1`
done
sbu1=$tbus[$1]
sbu1=${tbus[$1]}
echo -e "Backup selected: ${sbu1}"
read -n 1 -p "Are you sure you wish to DELETE this backup (y/n)?" choice