Linux下mysql数据库备份方法,标签:服务器,操作系统教程大全,http://www.67xuexi.com
rm -fr $dumpfilename
if [ $copytoftp = 1 ]; then
if [ -z $ftpserver ];then
echo "Ftp Server not set,Copy to Ftp Failed ..." >>$logfile
exit 1
elif [ -z $ftpuser ];then
echo "Ftp user not set, Copy to Ftp Failed ..." >>$logfile
exit 2
elif [ -z $ftppasswd ]; then
echo "Ftp password not set, Copy to Ftp Failed ..." >>$logfile
exit 3
else
echo "Start copy to Ftp server ...." >> $logfile
ftp -n>$logfile
fi
上一页 [1] [2]
Tag:服务器_操作系统教程,服务器,操作系统教程大全,电脑教程 - 服务器_操作系统教程