Mongorestore error - Failed: error connecting to db server: no reachable servers
Mongorestore error - Failed: error connecting to db server: no reachable servers
Before run mongorestore check if there is replSet in config file.
or you run mongo in replica set, i.e., mongod --replSet rs0
?
If yes, please remember to run in your mongo shell the command: rs.initiate()
Then you can use cmd mongorestore
to restore your db.
Comments
Post a Comment