Merge pull request #186 from iwiznia/master

Added mysqldump.md
This commit is contained in:
Ruben Vereecken 2014-05-26 21:32:39 +02:00
commit dfa5e2437b

11
pages/common/mysqldump.md Normal file
View File

@ -0,0 +1,11 @@
# mysqldump
> Backups mysql databases
- creating a backup
`mysqldump -u {{user}} -p{{password}} {{database_name]}} > {{filename.sql}}`
- restoring a backup
`mysql -u {{user}} -p{{password}} {{database_name}} < {{filename.sql}}`