Update mysqlbu-scripts.sh
This commit is contained in:
@@ -71,7 +71,11 @@ DELETE_BACKUP() {
|
|||||||
fi
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
if [ ${#1} = 1 ] || [ "${sbu1a[5]: -5}" = "_BASE" ]; then
|
if [ ${#1} = 1 ] || [ "${sbu1a[5]: -5}" = "_BASE" ]; then
|
||||||
|
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]}
|
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]}"
|
delbu="/${sbu1a[1]}/${sbu1a[2]}/${sbu1a[3]}/${sbu1a[4]}"
|
||||||
else
|
else
|
||||||
delbu=${sbu1}
|
delbu=${sbu1}
|
||||||
|
|||||||
Reference in New Issue
Block a user