mongodb - mongodump is not defined
<p>I am a newbie to mongodb. I am trying to take a backup of my database using <strong>mongodump</strong>. But whenever I use this command I get the below error</p>

<blockquote>
  <p>Referenceerror: mongodump is not defined</p>
</blockquote>

<p>I tried creating a new user with all the roles but still I get the same error. Should I add a specific role to take a backup? Or am I doing something wrong?</p>