Merge pull request #186 from iwiznia/master

Added mysqldump.md
waldyrious/alt-syntax
Ruben Vereecken 2014-05-26 21:32:39 +02:00
commit dfa5e2437b
1 changed files with 11 additions and 0 deletions

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}}`