By nicolouagie
We are a little firm that has/had our Odoo-ERP in the cloud. Since the OVH-fire at Strassbourg we’ve lost our data and the back-up.
The database only serves our firm (10 people), isn’t accesible for externals. I’m considering a redundant system (RAID 1) with backup on an off-location DC. Maybe overkill, but we’ve had some bad experience (cf supra).
How do I do this? What do I have to order (2 droplets in different locations? what software to manage the RAID)? Can someone point me in the right directions? Does DO offer some sort of system like that?
Minimal: 2 CPU’s/4 GB ram/50 GB/Ubuntu 20.04 Optimal: 4 CPU’s/8 GB ram/50 GB/Ubuntu 20.04
I am not an IT-professional (but I have a firm that can fix this for me).
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!
Hi,
@nicolouagie wroteDoes DO offer some sort of system like that?
Minimal: 2 CPU’s/4 GB ram/50 GB/Ubuntu 20.04
Optimal: 4 CPU’s/8 GB ram/50 GB/Ubuntu 20.04
Yes, they do. But, to make things clear, it will not be a dedicated hardware (bare-metal) server, that you will rent for a monthly fee. DO offers the virtual machines (called Droplets) that run on top of the hardware. You will be charged just for the allocated resources (VMs, block storage volumes, snapshots etc.). Thanks to this virtualization, you will be able to change your configuration in an easy way, relatively to your needs.
Considering your configuration…
RAID As you would like to have a database replicated on the fly, RAID seems to be a good idea for that, however, it would be a software RAID, a lesser efficient than a hardware one. It might be a droplet with two block storage volumes connected to it. RAID1 would consist of these two volumes.
Daily off-site backup Once a day, you would make a backup (dump) of your database and save it on a droplet’s disk. Then, you would take a snapshot of your droplet and migrate it to a different region (data center), just to have self-managed off-site backup there because DO declares having off-site backups of the snapshots. You could take the snapshots of the volumes as well, however, volume snapshot migration is not possible. You would apply a rotation scheme for the snapshots stored both in your droplet’s data center and off-site. All this process can be automated with the scripts.
It is just one of many possible configuration. Here is another one: you could configure RAID1 using an image file, stored on droplet’s disk, and connected block storage volume. Thanks to that, you would have an immediate access to your database in case of any issue related to block storage volumes in your droplet’s data center.
Besides RAID, you could consider another methods of data replication. As Odoo-ERP uses PostgreSQL, you can find more info here.
I hope it helps somehow.
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.