Created
July 21, 2015 21:46
-
-
Save cmpscabral/1d521683883a4f6ff993 to your computer and use it in GitHub Desktop.
mysql dump to tar.gz
This file contains 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 mydatabase -u root -p | gzip -c | cat > mydatabase-$(date +%Y-%m-%d-%H.%M.%S).sql.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment