MACMAN
MACMAN

Reputation: 1971

How to Backup a Meteor Mongo Database?

To create a backup of my mongo database, I am trying mongodump from my meteor console. The command successfully completes, but creates an empty folder under the dump folder. I use the command

mongodump -h 127.0.0.1 --port 3001 -d meteor

So basically I am trying to backup my database for reactionecommerce. My question is how to backup a meteor mongodb that is running locally? Thanks for any guidance of help.

Upvotes: 1

Views: 374

Answers (1)

MACMAN
MACMAN

Reputation: 1971

The issue was with the mongo version 2.6.10. I installed the latest 3.4.4 in my Ubuntu 64 machine following the instructions https://docs.mongodb.com/master/tutorial/install-mongodb-on-ubuntu/ Now I am able to dump the data without any problem.

Upvotes: 2

Related Questions