Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
2.11.6
-
None
-
Fully Compatible
Description
I have a use case that need to backup / restore a collection in API.
The most convenient and fastest solution is mongodump / mongorestore. Seeing that there is no API in driver to call dump or restore, so I need to start a new process to do it.
Then I need to pass the current connection configuration to the mongodump / mongorestore. I don't want get the configuration from file or other way, because we have several ways to configure it (hard-code, config file, environment variable and so on). The most exact value should be read from the client.
I've read the sources. I think we may should store and provide the public property MongoUrl in MongoClientSettings.
What do you think about?
Attachments
Issue Links
- related to
-
DRIVERS-821 Record Client connection URI
-
- Backlog
-