In this post I will walk you through migration of a database running old 2.6 version of MongoDB, to a more recent 3.4 version. We will not only upgrade the MongoDB version, but also change the storage engine from MMAPv1 to WiredTiger. The database is hosted within a Docker container.
Recently, working on the Parkanizer project our team faced the problem of backing up MongoDB located within Docker container. As we are .NET guys we are using Azure as our cloud infrastructure provider. We are storing our backups in the Azure Blob storage. This time we wanted to do the same with the Mongo backups.