Created
November 17, 2014 09:38
-
-
Save alexbartsch/fa3ec76e0025b69f6dcc to your computer and use it in GitHub Desktop.
Create MySQL dump for all databases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysqldump -u root --all-databases | gzip -c > $(date +%Y-%m-%d)_name-all-databases.sql.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment