MongoDB Configuration

From coolearthwiki
Jump to: navigation, search


MongoDB is tightly coupled to the Meteor Framework. Mongo is installed when Meteor is installed, and it is kept updated via the same mechanisms as Meteor. It is started as part of the Meteor startup and is shutdown when Meteor exits.

There are some commands that are possible, They are available if maintenance is necessary.

* cd into the Meteor directory
* meteor mongo

This launches the mongo command line and attaches it to the mongo database (if it and meteor are running).

It is possible to do a backup.

* cd into directory where you would like the database dump to appear
* mongodump --host localhost --port 3001 

This will generate a backup into the current directory.

Return to QC Results