Question

How to copy managed database using docker

Hi all, Is there any way or command to copy the managed database on request using docker? There should be an option in the digital ocean panel to copy the database, at the moment you can create a database, users there, but having a tool to copy database in one click will help getting data copied across quickly.


Submit an answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there @ronanutrac,

I don’t think that there is a way to export or import the databases from the DigitalOcean Control panel directly, but you could use the musqldump command to export the data directly to your server or container:

https://www.digitalocean.com/community/tutorials/how-to-import-and-export-databases-and-reset-a-root-password-in-mysql

Regards, Bobby