Created
January 13, 2015 11:07
-
-
Save bouassaba/cdbbb49bc007c0f16288 to your computer and use it in GitHub Desktop.
MySQL db dump with pretty filename and gzip
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 -p mydbname | gzip > amapur_`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