Report this

What is the reason for this report?

How to download dumps of databases from disconnected droplet?

Posted on September 30, 2019

Our server 178.62.63.220 was disconnected from the network after DDoS attack. How we can to download dumps of databases from this droplet now?



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.

This comment has been deleted

Hello,

You can simply use the mysqldump command via ssh in order to export your databases and then copy them anywhere else (either locally or to other server) using scp or rsync.

The command will look like this:

mysqldump -u [username] -p [database-you-want-to-dump] > [path-to-place-data-dump]

So it could be something like this:

mysqldump -u root -p mydatabase > /home/myuser/database-dump.sql

You can check this article as well, because everything is explained in details:

https://www.digitalocean.com/community/tutorials/how-to-import-and-export-databases-in-mysql-or-mariadb

Let me know if you have any questions.

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.