Skip to content

Instantly share code, notes, and snippets.

@firecall
Created March 20, 2011 01:39
Show Gist options
  • Save firecall/877981 to your computer and use it in GitHub Desktop.
Save firecall/877981 to your computer and use it in GitHub Desktop.
MYSQL Dump from the command line
mkdir /Users/alex/Desktop/Dropbox/mysql_backup/client/$(date +%Y%m%d_%H%M%S); /usr/local/mysql/bin/mysqldump -h database_host -u username —password=mypassword clients_database > $_/clients_database.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment