Skip to content

Instantly share code, notes, and snippets.

View silverarm's full-sized avatar

Silverarm Solutions silverarm

View GitHub Profile
@silverarm
silverarm / xtrabackup_full_increment_restore.sh
Created December 4, 2019 13:49 — forked from devguo/xtrabackup_full_increment_restore.sh
Automate xtrabackup for FULL/Incremental and restore
#!/bin/bash
# This is my production backup script.
# https://sqlgossip.com
set -e
set -u
usage() {
echo "usage: $(basename $0) [option]"
echo "option=full: Perform Full Backup"