Update mysqlbu-scripts.sh
This commit is contained in:
@@ -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]}"
|
||||
|
||||
Reference in New Issue
Block a user