I am a newbie to mongodb. I am trying to take a backup of my database using **mongodump**. But whenever I use this command I get the below error

> 
> Referenceerror: mongodump is not defined
> 
> 
> 

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?