Question

How to copy managed database using docker

  • Posted February 10, 2021
  • MySQL

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.

Subscribe
Share

Submit an 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