mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
mongodump: add --uri example (#7014)
This commit is contained in:
parent
c6e33e93cb
commit
f7734c08a2
1 changed files with 4 additions and 0 deletions
|
@ -26,3 +26,7 @@
|
|||
- Create a dump of a given database with a given username; user will be prompted for password:
|
||||
|
||||
`mongodump --username {{username}} {{database}} --password`
|
||||
|
||||
- Create a dump from a specific instance; host, user, password and database will be defined in the connection string:
|
||||
|
||||
`mongodump --uri {{connection_string}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue