Skip to content

Instantly share code, notes, and snippets.

View dilab's full-sized avatar

Xu Ding dilab

View GitHub Profile
@dilab
dilab / sql_backup.sh
Created June 12, 2016 13:47 — forked from niraj-shah/sql_backup.sh
Amazon S3 Backup Script for MySQL Databases
#!/bin/bash
# Shell script to backup MySql database
# CONFIG - Only edit the below lines to setup the script
# ===============================
MyUSER="root" # USERNAME
MyPASS="password" # PASSWORD
MyHOST="localhost" # Hostname