How to Configure OpenIO as a Duplicati Backup Target

A step-by-step guide to set-up a "private cloudish" backup solution.
Enrico Signoretti
Enrico Signoretti
Former Strategist at OpenIO

After explaining the many ways that you can install OpenIO, showing you how to add a load balancer, and how to play with the software to understand its basic commands, it is time to show how to install third-party software to take advantage of it.

In this tutorial I'll show you how to install Duplicati and use this software for your home backups. This article will highlight how easy it is to configure OpenIO as a backup target for other solutions as well. Duplicati is the easiest to use at home, and I wanted a new private-cloud-ish backup solution for my Mac.

What is Duplicati?

Duplicati is backup software for Windows, Mac, and Linux. It has a nice feature set including encryption, a cloud-ready design, a simple UI, and is open source.

Even though the Mac has Time Machine, this only works for local backups; Duplicati lets me back up my laptop from anywhere. The final goal of setting up this software is to share the IP address of my OpenIO object store on the internet and perform backups even when I travel.

Let's do it!

To install Duplicati on macOS, you first need to install the Mono framework.  Here is the link to download the package.

Duplicati will need a bucket to save its backups; you can create it with any client. To perform this operation, I used awscli which was already installed on one of my Linux hosts.

You can then download and install Duplicati on your Mac.

When you double-click the app, an new icon appears in the menu bar.  Click it and choose Open.

This is what you should see in the web browser.

Duplicati Home

In a Terminal window, I create the bucket I'll use for my backups:

# aws --endpoint-url http://oio01:6007 --no-verify-ssl s3api create-bucket --bucket duplicati-backups

After doing that I just need to configure my backup job by clicking Add Backup:

Duplicati Add Backup

After clicking Next, I add the name of my backup and the encryption passphrase (you can also leave it empty).

In the next step, I add the relevant information for the backup destination; your screen should look like this:

Duplicati Backup Destination

A few notes here:

  1. If Duplicati asks for a URL do not put "http://" in front of the endpoint address.
  2. Be sure to specify the bucket you created previously.
  3. Look at the advanced options. The default is Signature V4 (but you need Keystone installed for this); if you want to use TempAuth (Signature V2) then you have to look in the Advanced Options menu and choose s3-ext-signatureversion and enter 2 in the related field.
Duplicati Success

If everything is OK, click Next. On the next screen, choose what you want to back up.

Duplicati Backup source

Schedule your backups now.

Duplicati Schedule

And, last but not least, choose the retention.

Duplicati Retention

Click Save, and if you want to run your backup immediately click Run. You'll see a dialog showing information about the backup’s progress.

That's it! It’s easy and straightforward.

Final note

This was just an example but, for most backup solutions, the process is similar. Now that practically all backup software can use an S3 endpoint as a target, object storage is becoming a popular solution because it is much more flexible, scalable, and cost effective than traditional backup appliances.

Even more so, backup is one of the essential workloads that can lead to the object store improving overall infrastructure efficiency and consolidation of secondary data in your organization.

OpenIO has an additional advantage when it comes to inexpensive but safe storage. It can be installed on any type of hardware, even a combination of different types of hardware, and is available with a friendly subscription model. In practice, it is possible to recycle decommissioned hardware and build large-scale clusters with heterogeneous nodes. This gives a second life to old hardware without sacrificing reliability, and it reduces storage infrastructure costs and moves them from CAPEX to OPEX.

Enrico Signoretti
Enrico Signoretti
Former Strategist at OpenIO
Enrico is an experienced IT professional and internationally renowned author/speaker on storage technologies. In 2017-2018 he has been Product Strategist at OpenIO, today he continues to envision changes in the storage industry as a GigaOm Research Analyst. Enrico enjoys traveling, meeting people and eating "gelato". He is also a fond sailor, kite surfer, and a lazy runner.
All posts by Enrico