Update backup_db.sh

This commit is contained in:
mirocow 2016-02-16 19:58:00 +04:00
parent 14041fb59c
commit d42db146f8

View file

@ -24,6 +24,13 @@ fi
# === FUNCTION === # === FUNCTION ===
f_log() f_log()
{ {
local bold=$(tput bold)
local yellow=$(tput setf 6)
local red=$(tput setf 4)
local green=$(tput setf 2)
local reset=$(tput sgr0)
local toend=$(tput hpa $(tput cols))$(tput cub 6)
logger "BACKUP: $@" logger "BACKUP: $@"
if [ $VERBOSE -eq 1 ]; then if [ $VERBOSE -eq 1 ]; then