MySQL分库分表备份脚本
Contents
Let’s cut to the chase
1 | [root@aofa-staging tools]# cat mysql_backup.sh |
Output:
1 | [root@aofa-staging backup]# tree mysql |
1 | [root@aofa-staging tools]# cat mysql_table.sh |
Output:
1 | [root@aofa-staging mysql02]# tree |
my.cnf file
1 | # cat /root/.my.cnf |