top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to do a mongoexport without the slaveOk option ?

+1 vote
180 views

Current documentation specifies that the --slaveOk option is the default for mongoexport. So by default the export is done from the secondaries.

How to disable this option in the mongoexport command line and export from primaries only ?

posted Apr 12, 2016 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
follow this link : https://groups.google.com/forum/#!topic/mongodb-user/JlSe1CMgTEM
and let me know if it is helpful.

Similar Questions
+1 vote

I only want to enable client authentication when deploy a mongodb replica set, as dont want to use the --keyfile option. Cant find useful information relate to this scenario by google...

If yes, could you share some guide link if have?

...