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