[mongodump] : [thread1] SyntaxError: missing ; before statement @(shell):1:13


I would like to backup mongo data (base on Mac)

➜  meteor-element git:(dev) ✗ meteor mongo
MongoDB shell version: 3.2.15
connecting to:
meteor:PRIMARY> mongodump -h --port 3001 -d meteor -o ~/Desktop/dump
2018-01-14T20:21:24.927+0700 E QUERY    [thread1] SyntaxError: missing ; before statement @(shell):1:13

Please help me


keep your project running and run the dump command in another terminal. (not inside mongo shell.)


Thanks for your quick reply.

➜  ~ mongodump -h --port 3001 -d meteor -o ~/Desktop/dump 
zsh: command not found: mongodump


You have install a MongoDB on your machine separately from Meteor.

mongodump and mongorestore are not a part of Meteor .


OK thanks, I will try