I am trying to dump a database from mongodb where i am getting not recognized error on running the command from command line as admin. mongodump --db ninjago, I have added the path variable in environment variables for mongodb. I am still getting the error. Please help. thanks
You have to additionally install MongoDB Database Tools in order to use
mongodump in the CLI. If you need to restore the data, after installing MongoDB Database Tools you will be able to use the
mongorestore in the CLI as well.