Optimal way to replicate a MANAGED DO MYSQL DB to other DBs, such as localhost or any other DB with a connection

I want to mirror my main database to my localhost so I have similar data throughout my development environment. Curious what the best way to do that with a managed DB, because I don’t have access to SSH so i can’t follow some of the replication tutorials out there.

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
March 19, 2022

Hi there,

What you could do is to follow the steps here on how to export and import a collection from MongoDB:

The tutorial is not specifically for a managed cluster, but you can run the mongoexport command as described there, just specify the cluster connection details with --uri "cluster-connection-string" flag.

For an example on how to use MongoDB CLI tools with a managed cluster, you can take a look that eh documentation here:

Hope that this helps!