Fix: the mongorestore command requires a primary node in a replica set.