mysqldump: use proper filename token for all examples

client-spec/clarity
Marco Bonelli 2020-03-03 18:00:45 +01:00 committed by Marco Bonelli
parent 40af8c1f54
commit 21580038c4
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
- Create a backup (user will be prompted for a password): - 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): - 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): - 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): - 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}}`