Skip to content

Instantly share code, notes, and snippets.

@ScribeOfGoD
ScribeOfGoD / gist:e0fa6b19e45c3573a5d5229dc76f0b0d
Created October 10, 2016 18:57 — forked from simonda86/gist:6305487
MySQL Backup script for all databases
#!/bin/bash
user=""
password=""
host=""
backup_path="/path/to/your/home/_backup/mysql"
date=$(date +"%d-%b-%Y")
# Get list of databases