I would like to update mongo version 4 to mongo version 8.
What is the best way to do that?
Should I create a new server with mongo 8, use mongodump in mongo 4 with all databases and mongorestore the files in the new mongo 8 server? Or is there a way to to uninstall mongo 4 and install mongo 8 while making mongo 8 get all mongo 4 files?
Hi,
I’d suggest you to test if the mongodump+mongorestore procedure works. Probably it is the less painful way if you can tolerate service disruption (I mean: you need to stop your MongoDB service while you do the upgrade).
I hope this feedback helps.
Best regards,
Fermín