Roslyn  Conn

Roslyn Conn


How to Migrate Your Local MongoDB Database Between Computers

This article will document the steps required to migrate your MongoDB to a new machine. At the end of this article, you’ll have a MongoDB with identical collections and documents as your previous machine. Without further ado, let’s start.

Problem Statement

I needed to switch my development machine, and I needed to migrate the data in my local MongoDB to the new machine.

Primary objectives

  • Avoid wasting time and effort to recreate dummy data in MongoDB. My projects have 7-8 microservices and databases; each microservice has about 2-3 collections. Thus, I couldn’t imagine recreating that data.

Although my problem is specifically for data migration for a development machine, I believe this article could help you as long as you’re performing migration for MongoDB.

Solution Analysis

The moment I knew I needed to do this migration, I was a bit panicked. I had zero experience in doing MongoDB migration. It’s important to remain calm (sometimes I couldn’t) and resolve the problem bit by bit. I’ll this down into two parts:

  • Back up the MongoDB data
  • Restore the data to the new machine

#mongodb #mongo #database #software-engineering

What is GEEK

Buddha Community

How to Migrate Your Local MongoDB Database Between Computers

Install MongoDB Database | MongoDB | Asp.Net Core Mvc


#mongodb #mongodb database #mongodb with c# #mongodb with core #mongodb tutorial for beginners #mongodb tutorial

Query of MongoDB | MongoDB Command | MongoDB | Asp.Net Core Mvc

#mongodb tutorial #mongodb tutorial for beginners #mongodb database #mongodb with c# #mongodb with core #mongodb

Adaline  Kulas

Adaline Kulas


What are the benefits of cloud migration? Reasons you should migrate

The moving of applications, databases and other business elements from the local server to the cloud server called cloud migration. This article will deal with migration techniques, requirement and the benefits of cloud migration.

In simple terms, moving from local to the public cloud server is called cloud migration. Gartner says 17.5% revenue growth as promised in cloud migration and also has a forecast for 2022 as shown in the following image.

#cloud computing services #cloud migration #all #cloud #cloud migration strategy #enterprise cloud migration strategy #business benefits of cloud migration #key benefits of cloud migration #benefits of cloud migration #types of cloud migration

Ruth  Nabimanya

Ruth Nabimanya


Creating Cloud Database in MongoDB

How to create a free cloud NoSQL database using MongoDB Atlas

NoSQL databases gained massive popularity in recent years. Rather than storing everything in row and column values, NoSQL databases provide more flexibility. There are quite a few document-oriented NoSQL databases available like AWS SimpleDB, MongoDB, and others. MongoDB provides more flexibility and operations than other NoSQL cloud databases. This would be a series of articles containing information on how to create a MongoDB cluster for cloud databases, how to create collections, and do Create, Read, Update and Delete (CRUD) operations through MongoDB compass (GUI) or through Python (pyMongo). Furthermore, future articles will also contain some advanced operations. If you already know how to create a MongoDB cluster and connect to it through MongoDB compass GUI, you can ignore this article and go to the next one.

First of all, you need to create an account in MongoDB, it’s completely free and does not require credit card information to get MongoDB atlas. You can register through here. MongoDB Atlas provides the cloud database. Once you register, you can select the cluster you want. There are three options available, the one we will use is shared cluster since it’s great for small projects and learning purposes, and it is free. As the name suggests, it will be a shared cluster while other clusters provide more advanced and dedicated services.

#mongodb-atlas #nosql #nosql-database #mongodb #mongodb-compass #creating cloud database in mongodb

Create, Delete collection in MongoDB database | Show collection list | Asp.Net Core Mvc


#mongodb #mongodb database #mongodb tutorial for beginners #mongodb with core #mongodb with c#