1
0
Fork 0
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:
Taran Vohra 2021-10-22 20:29:04 +05:30 committed by GitHub
parent c6e33e93cb
commit f7734c08a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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