Update mysqlbu-scripts.sh

This commit is contained in:
2025-07-26 19:28:55 -05:00
parent 78b16de4f3
commit 48c73adb0c

View File

@@ -365,7 +365,8 @@ case $1 in
for hour in $day/* ; do
thr=`sed 's/.*\///' <<< ${hour//_BASE/}`
echo "HERE: ${tdt} (${thr})=${thr//-/:}"
thr=`sed 's/-mysqldump//g' <<< ${hour//_BASE/}`
# echo "HERE: ${tdt} (${thr})=${thr//-/:}"
bsz=`du -sh ${hour} | awk '{print $1}'`
if [ ${hour: -5} = "_BASE" ]; then
echo -e "${idsCL[LightGreen]}${idsST[Bold]} -> `date -d"${tdt} ${thr//-/:}" +"%H:%M"` - FULL BACKUP${idsST[Reset]}${idsCL[LightGreen]} - ${bsz}${idsCL[Default]}"