Report this

What is the reason for this report?

How to copy managed database using docker

Posted on February 10, 2021

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.



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.