Question

How to copy managed database using docker

Posted February 10, 2021 399 views
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.

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.

×
Submit an Answer
1 answer

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

by Etel Sverdlov
MySQL is a powerful database management system used for organizing and retrieving data. This tutorial explains how to import and export MySQL databases and how to reset a root MySQL password