title: mongoexport error: Failed: Failed to parse + Unrecognized field 'snapshot
body: <p>Goal:to migrate my local mongodb data to mongobd atlas cluster.</p>
  
  <p>Try:<br>
  1. export local data as json.<br>
  2. import json to cluster.</p>
  
  <p>OS: Linuxmint 19.1 Cinnamon<br>
  mongo --version
  MongoDB shell version v4.0.10<br>
  mongod --version
  db version v3.6.3<br>
  I also have a separate database folder.</p>
  
  <p>So first I started</p>
  
  <pre><code>/home/me/mongodb/bin/mongod --dbpath=/home/me/mongodb-data
  </code></pre>
  
  <p>then I opened a terminal and typed</p>
  
  <pre><code>~/mongodb/bin $ mongoexport  --db task-manager --collection users --out ~/Desktop/test.json
  </code></pre>
  
  <p>I expected the users collection from task-manager database will print out as a test.json file but I am getting the error:</p>
  
  <pre><code>2019-06-18T22:05:06.108+0200    connected to: localhost
  2019-06-18T22:05:06.108+0200    Failed: Failed to parse: { find: "users", filter: {}, sort: {}, skip: 0, snapshot: true, $readPreference: { mode: "secondaryPreferred" }, $db: "task-manager" }. Unrecognized field 'snapshot'.
  </code></pre>
  
  <p>What's wrong and what should I do to fix it? Is there any better way to migrate data?</p>