Skip to content

Instantly share code, notes, and snippets.

View TailoredITRob's full-sized avatar

TailoredITRob

View GitHub Profile
#!/bin/bash
# Daniel Verner
# CarrotPlant LLC
# 2011
# Backup each mysql databases into a different file, rather than one big file
# Optionally files can be gzipped (dbname.gz)
#
# Usage: dump_all_databases [ -u username -o output_dir -z ]
#
# -h hostname of mysql server