#!/bin/bash pass='123456' time=`date +%Y%m%d-%H%M` db_path=/root/code/xizang_PAD_project/PHP_business_server/tfcms/upgrade/db/ db_name=tf_syberos_cms db_bak=/usr/local/src/backup/$db_name-$time.sql #Determine the results result() { if [ $? != 0 ];then echo -e "