mongodump: add --uri example (#7014)
This commit is contained in:
@@ -26,3 +26,7 @@
|
|||||||
- Create a dump of a given database with a given username; user will be prompted for password:
|
- Create a dump of a given database with a given username; user will be prompted for password:
|
||||||
|
|
||||||
`mongodump --username {{username}} {{database}} --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}}`
|
||||||
|
Reference in New Issue
Block a user