Mysql数据库备份脚本(mysqldump)-最新
#!/bin/bash #备份整个数据目录 backdirname=mysql_data backfilename=mysql_dbfile_ backsource=/var/lib/mysql tar zcfP /backup/$backdirname/files/$backfilename$([......]
#!/bin/bash #备份整个数据目录 backdirname=mysql_data backfilename=mysql_dbfile_ backsource=/var/lib/mysql tar zcfP /backup/$backdirname/files/$backfilename$([......]