top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

MongoDB Major and Minor version compatibility.

+1 vote
297 views

I am relatively new to MongoDB and am unaware of how compatible its releases are between themselves.

I must migrate a production DB from version 2.6 to 3.6, but before I do so, I would like to install both versions on another machine, populate the 2.6 DB with some sample data and attempt to migrate it to 3.6.However, I can no longer download 2.6, so my question is, if I install 2.7 instead, will my experiment still be absolutely valid, or are there incompatibilities between 2.6 and 2.7 that render said experiment invalid?And if 2.6 and 2.7 are sufficiently different, then where can I get an .msi installer of 2.6?

Many thanks in advance!

posted Jan 17, 2018 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

if I install 2.7 instead, will my experiment still be absolutely valid

I wouldn’t think so. The 2.7 is a development branch, which means that many things would be sufficiently different from the stable 2.6 or the subsequent stable 3.0 versions, or even between minor versions within the 2.7 branch themselves.

populate the 2.6 DB with some sample data and attempt to migrate it to 3.6

Please note that the only supported and tested binary upgrade path is between major versions, e.g. to upgrade from 2.6 to 3.6, you would need to upgrade to: 2.6 -> 3.0 -> 3.2 -> 3.4 -> 3.6. Another method is to dump/restore your data using mongodump and mongorestore.

where can I get an .msi installer of 2.6?

All available binaries should be available under the link “All versions binaries”: With SSL (https://www.mongodb.org/dl/win32/x86_64-2008plus-ssl ) or without SSL (https://www.mongodb.org/dl/win32/x86_64 )

Credit: Internet (found the exact problem statement)

answer Feb 8, 2018 by Salil Agrawal
Similar Questions
0 votes

I have one server contains the backup deamon and blockstore. I need to know if I can store the snapshots on tapes as off site backup. If not anyone can suggest a solution for off site backup for this situation.

+1 vote

Does anyone know how I remove orphaned documents in a cluster (sharding) in mongodb version 3.0.10, My actual data are 20 million orphans and documents the value amounts to 21 million data

+1 vote

Can we connect to MongoDB Server 2.6.12 using Java Driver version 0.11? We have a constraint of upgrading Java Driver version which would require huge change in our client code. We use JDK 8 for compilation of our project. We would like to know whether it is possible to connect to MongoDB Server 2.6.12 or MongoDB Server 3.0 using Java Driver version 0.11 if we only use the limited set of features (not the functionalities that were introduced in Server version 2.6.12 or 3.0).

+2 votes

I followed the Ubuntu install instructions exactly, why is 3.0.5 using the 2.4 version config file, when all of MongoDB documentation uses the YAML format now for config options?

...