Update mysqlbu-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user