Update mysqlbu-scripts.sh
This commit is contained in:
@@ -369,7 +369,7 @@ case $1 in
|
|||||||
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]}"
|
||||||
elif [[ "${hour}" = *"-mysqldump"* ]]
|
elif [[ "${hour}" = *"-mysqldump"* ]]; then
|
||||||
echo -e "${idsCL[Cyan]} -> `date -d"${tdt} ${thr//-/:}" +"%H:%M"` - SQL Dump - ${bsz}${idsCL[Default]}"
|
echo -e "${idsCL[Cyan]} -> `date -d"${tdt} ${thr//-/:}" +"%H:%M"` - SQL Dump - ${bsz}${idsCL[Default]}"
|
||||||
else
|
else
|
||||||
echo -e "${idsCL[Cyan]} -> `date -d"${tdt} ${thr//-/:}" +"%H:%M"` - Incremental - ${bsz}${idsCL[Default]}"
|
echo -e "${idsCL[Cyan]} -> `date -d"${tdt} ${thr//-/:}" +"%H:%M"` - Incremental - ${bsz}${idsCL[Default]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user