-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Tools
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