Recovery of database

I want to recover the MySQL database running on ubuntu 16.04 droplet


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.

Hey friend,

To recover a database you have a couple of potential options.

  1. Restore from a backup that you have. You can use the command-line to restore a MySQL database using this guide:

  2. 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.