Question

Noob - looking for a redundant system possible with backup in different location

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


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi,

@nicolouagie wrote
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

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…

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

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