Update mysqlbu-scripts.sh

This commit is contained in:
2019-01-07 22:17:38 -06:00
parent f05650919c
commit 3e288d9db8

View File

@@ -71,7 +71,11 @@ DELETE_BACKUP() {
fi
echo ""
if [ ${#1} = 1 ] || [ "${sbu1a[5]: -5}" = "_BASE" ]; then
echo -e "${idsCL[Red]}(This is a daily base backup, and will result in the full day being DELETED.)"${idsCL[Default]}
if [ ${#1} = 1 ]; then
echo -e "${idsCL[Red]}(This will DELETE the entire days worth of backups for the date selected.)"${idsCL[Default]}
else
echo -e "${idsCL[Red]}(This is a daily base backup, and will result in the full day being DELETED.)"${idsCL[Default]}
fi
delbu="/${sbu1a[1]}/${sbu1a[2]}/${sbu1a[3]}/${sbu1a[4]}"
else
delbu=${sbu1}