mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:02:09 +02:00
mysqldump: use proper filename token for all examples
This commit is contained in:
parent
40af8c1f54
commit
21580038c4
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
- Create a backup (user will be prompted for a password):
|
||||
|
||||
`mysqldump --user {{user}} --password {{database_name}} -r {{filename.sql}}`
|
||||
`mysqldump --user {{user}} --password {{database_name}} -r {{path/to/file.sql}}`
|
||||
|
||||
- Restore a backup (user will be prompted for a password):
|
||||
|
||||
|
@ -13,8 +13,8 @@
|
|||
|
||||
- Backup all databases redirecting the output to a file (user will be prompted for a password):
|
||||
|
||||
`mysqldump --user {{user}} --password --all-databases > {{filename.sql}}`
|
||||
`mysqldump --user {{user}} --password --all-databases > {{path/to/file.sql}}`
|
||||
|
||||
- Restore all databases from a backup (user will be prompted for a password):
|
||||
|
||||
`mysqldump --user {{user}} --password < {{filename.sql}}`
|
||||
`mysqldump --user {{user}} --password < {{path/to/file.sql}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue