Skip to content

Instantly share code, notes, and snippets.

@siddharth
siddharth / xtrabackup_full_increment_restore.sh
Created October 16, 2020 05:39 — forked from SQLadmin/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"