Copy a MongoDB Database

Copy a MongoDB Database

𝗟𝗮𝘆𝗼𝘂𝘁 𝘀𝗲𝗰𝘁𝗶𝗼𝗻

In the previous demo, we successfully cloned our Primary node.
In this part, we will learn how to copy a Database.
Recently, we have already created Databases in our MongoDB cluster.

You need to navigate to the Inventory area on the right part of the Layout section.
In the Inventory area, click the Databases menu.

Let's copy our own database named 'db_work'.
Drag the dotted icon located near 'db_work' database onto the Primary node.

A new window will appear. There are two copy options available:

  • Override the current database
  • Create a copy with a given name

For the 2nd option, type the preferred database name and press Check button.

After name validation is complete, click Submit to finish the process.

  • Click on the Rest API icon will generate a code you can later use in automation.

Your configuration path will look like this:
Layout section → Inventory area → Databases → Copy → Copy database options → Database copy name check→ Click Submit