Question

Recovery for Managed MySQL + Redis

Hello,

I’ll soon start an e-commerce website for digital files based on WordPress and EDD and thought the ideal setup would be:

OpenLiteSpeed Wordpress (from the marketplace) Managed MySQL Managed Redis Spaces for the files (~500mb-1gb each on average)

I had some doubts on how recovery would work if there’s a problem with the database however. From what I could find, if I interpret it correctly, the Managed MySQL backs up the database every 5 minutes (and full backup daily), so I should be able to go back to any point in time in 5 minute intervals should there be a problem?

Also, Redis doesn’t seem to have that but I’m not sure if that’s a problem as it should only be used for cache? Are there any steps I should follow if I recover the MySQL to a previous point in time to avoid any problems?

Thank you!


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.

Bobby Iliev
Site Moderator
Site Moderator badge
September 3, 2020
Accepted Answer

Hi there @PSNick,

This sounds like a solid setup, I like it! It also gives you the chance to, later on, scale up your webserver to multiple web servers and add a load balancer.

Regarding, the MySQL restore, I would recommend just following the steps from the official documentation on how to do that:

https://www.digitalocean.com/docs/databases/mysql/how-to/restore-from-backups/

Regarding Redis, yes you are absolutely right, as it is only for caching it should be all good.

Regards, Bobby

Try DigitalOcean for free

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

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

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

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

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