From f299a5e23890bf679ea299e3805ef8318de0878e Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 7 Jan 2019 22:55:39 -0600 Subject: [PATCH] Update mysqlbu-scripts.sh --- mysqlbu-scripts.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mysqlbu-scripts.sh b/mysqlbu-scripts.sh index b5da094..626fb62 100755 --- a/mysqlbu-scripts.sh +++ b/mysqlbu-scripts.sh @@ -70,10 +70,11 @@ DELETE_BACKUP() { echo -e "${idsCL[Red]}(This will DELETE the entire days worth of backups for the date selected.)"${idsCL[Default]} delbu=${sbu1} elif [ "${sbu1a[5]: -5}" = "_BASE" ]; then - echo -e "Backup selected: ${idsST[Bold]}${idsCL[Red]}`date -d"${sbu1a[4]} ${thr//-/:}" +"%A, %B %d, %Y - %I:%M %P"` (${bsz})${idsST[Reset]}" + echo -e "Backup selected: ${idsST[Bold]}${idsCL[Red]}`date -d"${sbu1a[4]} ${thr//-/:}" +"%A, %B %d, %Y - %I:%M %P"` - Full Backup - (${bsz})${idsST[Reset]}" 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 + echo -e "Backup selected: ${idsST[Bold]}${idsCL[Red]}`date -d"${sbu1a[4]} ${thr//-/:}" +"%A, %B %d, %Y - %I:%M %P"` - Incremental - (${bsz})${idsST[Reset]}" delbu=${sbu1} fi read -p "Are you sure you wish to DELETE this backup (y/N)?" choice