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?
mongodump
command inside mongo shell or in the terminal? – Forensicsmongodump
is not a mongo shell command, it is a separate mongodb utlity which usually can be found under mongodb bin folder. – Forensics