How to Back Up and Restore a MongoDB Databaseby@shepelev
4,756 reads

How to Back Up and Restore a MongoDB Database

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

The guide was developed on a computer with the Ubuntu 20.04.2 LTS operating system. MongoDB is a database that emerged in the mid-2000s. Its documents are made up of key-value pairs, which are the basic unit of data in MongoDB. Its collections contain groups of documents and functions that are equivalent to tables in relational databases. The MongoDB data format is called BSON (binary JSON) and is used to store data. To make a backup copy, log in as root and create a directory for storing backup:
featured image - How to Back Up and Restore a MongoDB Database
Alexey Shepelev HackerNoon profile picture

@shepelev

Alexey Shepelev

Senior Ruby on Rails Developer


Receive Stories from @shepelev

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!