mysql 定时增量备份和全备脚本
摘要:
View Code 1 #!/bin/bash 2 3 scriptsDir=/opt/shells 4 mysqlDir=/usr/local/mysql 5 user=root 6 userPWD= 7 dataBackupDir=/data/mysqldump 8 eMailFile=$dataBackupDir/email.txt 9 eMail=httpd4@test.com 10 logFile=$dataBackupDir/mysqlbackup.log 11 DATE=`date "+%Y%m%d"` 12 echo "" > $e 阅读全文
posted @ 2013-03-29 11:08 coolnet 阅读(313) 评论(0) 推荐(0) 编辑