#!/bin/bash# Name: xtra_back_mysql.sh# Desc:该脚本使用xtrabackup工具对mysql数据库进行增量备份,根据自己需求可以自行修改# Usage:./xtra_back_mysql.sh# Author: Ghost# Update: 2018-08-05 # 备份策略:周3.周5.周日全备,周1,周2,周4,周6增备 #变量定义basedir = /usr/local/mysqldatadir = /usr/local/mysql/datacon…