@babrahams Thanks for these simple commands… really helped me out. However, the restore didn’t quite work for me. After doing the mongodump, and clearing the database with meteor reset, when I started up meteor again and tried to restore, your mongorestore command resulted in a core dump (!) when the restore got conflicts between the newly created mongo database and objects in the restore. I had to add the --drop option to stop this. BTW, I also needed to specify the folder name of where the dump was. The command that worked for me was:
I have one complaint with 1.4 and it’s pictured above. In the guide, there’s a section called “Upgrading to 1.4” which links to this thread. I’ve tried to understand what changes I need to worry about, but ultimately didn’t want to be bothered with digging through the forums for hours on end. Really, 1.4 would feel a lot nicer if this one misleading link in the guide be removed or updated or… something. It doesn’t go anywhere. It doesn’t link to anything. There’s are recommendations below to refer to, but they aren’t in a bulleted list like other sections of the guide. The heading font sizes are so similar that it isn’t easily suggested. What would make me (and perhaps others) feel better would be an ordered list of steps clearly numbered with command line examples—no ambiguity.
Sorry if this question sounds stupid, but I am so used to the simplicity and how updating Meteor apps “just works” that I am a bit freaked out by some of the potential breaking changes this time. I am specially concerned about the MongoDB update that does not seem to be “automatic”.
Currently I have a Meteor application running on Galaxy and accessing Mongo on a Multi-node replica set deployment on Mlab.com (former MongoLab).
My app is currently running in production on Meteor 1.3xx with MongoDB version: 3.0.12 (MMAPv1).
I plan to update it to Meteor version 1.4. However this version recommends using a different driver, WiredTiger, and MongoDB 3.2.
My doubts are:
By updating my app on Galaxy, what will happen do my db at Mlab? Will it upgrade itself to WiredTiger / Mongo 3.2? Or will I have to do it manually? Is there a way to prevent it and keep on current version/driver?
If I update to WiredTiger/Mongo 3.2 will I have to change hosting plan on Mlab?
What happens to data? Will I have to dump before and restore new db later or will this update “just works”?
You don’t need to upgrade your database - feel free to continue using the same version as before if you don’t need any of the MongoDB engine improvements!