Update mysqlbu-scripts.sh
This commit is contained in:
@@ -366,7 +366,6 @@ case $1 in
|
|||||||
for hour in $day/* ; do
|
for hour in $day/* ; do
|
||||||
thr=`sed 's/.*\///' <<< ${hour//_BASE/}`
|
thr=`sed 's/.*\///' <<< ${hour//_BASE/}`
|
||||||
thr=`sed 's/-mysqldump//g' <<< ${thr}`
|
thr=`sed 's/-mysqldump//g' <<< ${thr}`
|
||||||
echo "HERE: ${tdt} (${thr})=${thr//-/:}"
|
|
||||||
bsz=`du -sh ${hour} | awk '{print $1}'`
|
bsz=`du -sh ${hour} | awk '{print $1}'`
|
||||||
if [ ${hour: -5} = "_BASE" ]; then
|
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]}"
|
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