Created
March 25, 2014 07:59
-
-
Save watermusic/9757030 to your computer and use it in GitHub Desktop.
Backup your Mysql Database with mysqldump
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 -h %host% -u %user% -p --single-transaction --databases %database% > ~/%database%.sql | |
- single-transaction -> live backup without locking tables |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment