I want to recover the MySQL database running on ubuntu 16.04 droplet
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!
Hey friend,
To recover a database you have a couple of potential options.
Restore from a backup that you have. You can use the command-line to restore a MySQL database using this guide: https://www.digitalocean.com/community/tutorials/how-to-import-and-export-databases-and-reset-a-root-password-in-mysql
Use DigitalOcean backups/snapshots to restore. Note that this will restore the entire droplet, not just your database, and will only be available if you had opted into backups or taken a snapshot.
https://www.digitalocean.com/docs/images/snapshots/ https://www.digitalocean.com/docs/images/backups/
Jarland
Hello there,
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 a snapshot of a service like ours SnapShooter.
As for the recovery, I don’t want to get any hopes up as I would strongly 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.
Regards
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.