#!/bin/bash
#Bymartin.liu
Today=`date+%Y%m%d`
BackupPath=/usr/local/mysql_backup
BackupLog=bak_$Today.log
BackupFile=$Today.tar.gz
DBUser=root
DBPassword=‘123456‘
DBHost=localhost
mkdir-p$BackupPath/$Today
innobackupex--user=$DBUser--password=$DBPassword-..
分类:
数据库 时间:
2016-06-07 11:22:12
阅读次数:
542