home ~ previous

Meteor.js

More details to follow ...

In the meantime:

Backup

Make sure you have the meteor project running. To do this, in your project folder, open a consol and enter meteor

1
meteor mongo –url

This will return you DB path. It will look something like this: mongodb://127.0.0.1:3002/meteor

The we can dump the DB:

1
mongodump -h 127.0.0.1:3002 –db meteor  –out  backups

This will dump the DB in backups/meteor/

Re-install

In the initiated meteor folder, make sure you have the correct URL, by using the ame code as before:

1
meteor mongo –url

And in the console, enter:

1
mongorestore -h 127.0.0.1:3002 --db meteor backups/meteor/

Your browser should automatically update.