How to upgrade from v3.6.3 to v4.4.5?

Do a full backup before you start. Even better, backup the prod, restore it on another server and test your upgrade on that server.

Make sure you read all the upgrade documentation for each version because they contain specificities and special commands that needs to be executed to complete the upgrade.

For example, this one is common:

db.adminCommand( { setFeatureCompatibilityVersion: "4.2" } )

But there are other useful information in these docs.

From what I’m reading, always make sure to upgrade to the latest minor version for each of the major one: for example, prefer 4.2.20 to 4.2.1, etc.

Cheers,
Maxime.

1 Like