MySQL Database Deleted, How to restore?

Hi, I am facing a big issue right now. We have deleted our Database from our Server, and we had no backup. Is there a way I could get it back? I was not using the DigitalOcean Database thing, my coder had made a database directly on the server. Any help would be very appreciated. Sorry for the lack of information as well, I am not very good with database and servers. Thanks

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.

Site Moderator
Site Moderator badge
September 12, 2022

Hello @antoinedionne

I will share Simon’s answer to this question for you

So to answer the first part of the question no DigitalOcean does not keep backups of servers for you. You would need to have setup backups or have snapshot of use a service like ours SnapShooter.

As for the recover, I don’t want to get any hopes up as I would strong suspect it’s gone. However a very very last ditch attempt would be to boot into recovery mode, and use something like testdesk

But again I would not be very hopeful.


Site Moderator
Site Moderator badge
September 9, 2022

Hey @antoinedionne,

If you have a Snapshot of your Droplet you can restore that however it will restore your code as well to the point of which it was made.

Alternatively, you can contact DigitalOcean’s support and ask them if they have an available Snapshot and if they can restore it for you. There is no other way. You can reach them at

Hope that helps! - KFSys.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.