Hello, I’m a new here. I have MongoDB 3.4.1 on Windows Server 2012. I need to upgrade Windows Server to 2019. Will MongoDB 3.4.1 work on this Window Server version? Thank you
Thank you for your response. It means I need to upgrade from 3.4 to 4.4. Do you have any recommendations, steps how to do it in the best way?
Hi @Ilya_Khilkevich ,
I’ll link you some of the answers I liked:
Hi @Evan_L ,
Successive in-place upgrades are the most thoroughly tested approach and will minimise downtime.
However, if downtime is acceptable (and you’re open to hitting a few fixable speedbumps along the way), mongorestore is definitely a possibility.
Please see my comment on Replace mongodb binaries all at once? - #3 by Stennie_X for more elaboration on alternatives to in-place upgrades.
The mongorestore path is the last option discussed in my comment:
Regards,
Stennie
Hi @mental_N_A ,
You have multiple solutions to upgrade from MDB 3.6 to 4.4. But before you try anything BACKUP EVERYTHING and of course make sure that you can recreate a 3.6.3 node from your backup so you can always come back and try something else.
The dump solution
mongodump & mongorestore can backup and restore entire databases in a MongoDB cluster. The BSON file they create might not be compatible if the gap between your MongoDB versions is too large (like 2.4 to 4.4 for example). But be…
Regards
1 Like
Thank you for the links you are shared
1 Like