Update mysqlbu-scripts.sh

This commit is contained in:
2019-04-08 12:20:59 -05:00
parent 6eadc75b5b
commit 3f916db8ac

View File

@@ -308,6 +308,9 @@ case $1 in
echo -e "${idsCL[LightGreen]}---------------------------------------------------------------------------${idsCL[Default]}"
echo ""
echo -e "${idsCL[LightYellow]}============ Available MySQL Backups ============${idsCL[Default]}"
bsz=`du -sh ${BACKUP_PATH} | awk '{print $1}'`
echo -e "${idsCL[Yellow}Storage space used by all backups - ${bsz} ${idsCL[Default]}"
echo
for day in $BACKUP_PATH/* ; do
if [ "${day}" != "${BACKUP_PATH}/latest" ]; then
tdt=`sed 's/.*\///' <<< $day`