Details
-
Improvement
-
Status: Closed
-
Minor - P4
-
Resolution: Fixed
-
None
Description
For example, if I run the following command on HOST1, it will restore the dump to the DBPATH on localhost (HOST1), rather than HOST2. It would be nice if it would print error/warning if both --host and --dbpath options are used in mongorestore since it won't be able to restore the dump to the DBPATH on HOST2.
mongorestore --host HOST2 --dbpath DBPATH DUMP
|