Skip to content

Instantly share code, notes, and snippets.

@soxfor
soxfor / mysql_backup.sh
Created March 30, 2017 14:08 — forked from chill117/mysql_backup.sh
Bash script to perform backups on one or more MySQL databases.
#!/bin/bash
#
# Use this script to perform backups of one or more MySQL databases.
#
# Databases that you wish to be backed up by this script. You can have any number of databases specified; encapsilate each database name in single quotes and separate each database name by a space.
#
# Example:
# databases=( '__DATABASE_1__' '__DATABASE_2__' )