2019年12月8日
摘要: 一、数据库全备,全备脚本如下: [root@leader script]# cat bak_all.sh #!/bin/bash#Date: 2019-12-08#Author: chan#Mail: chan#Function:This scripts function is More compl 阅读全文
posted @ 2019-12-08 14:27 Leader.Z 阅读(876) 评论(0) 推荐(0)
摘要: 1.全量备份和增量备份 1.1全量备份 就是对现有的数据进行全部备份,之前做的备份均可舍弃,以最新的全备为基点。 a.全备所有数据库 Innodb引擎: [root@leader mysql]#mysqldump -uroot -proot -F -A -B --events --single-tr 阅读全文
posted @ 2019-12-08 13:08 Leader.Z 阅读(480) 评论(1) 推荐(0)