mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 19:56:55 +00:00
Update cheatsheets
This commit is contained in:
@@ -24,7 +24,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`mongodump {{[-c|--collection]}} {{collection_name}} {{[-d|--db]}} {{database_name}}`
|
||||
|
||||
- Connect to a given host running on a given port, and create a dump:
|
||||
- Connect to a given host running on a given port and create a dump:
|
||||
|
||||
`mongodump {{[-h|--host]}} {{host}} --port {{port}}`
|
||||
|
||||
@@ -32,6 +32,6 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`mongodump {{[-u|--username]}} {{username}} {{database}} {{[-p|--password]}}`
|
||||
|
||||
- Create a dump from a specific instance; host, user, password and database will be defined in the connection string:
|
||||
- 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