Configuring Cloudberry Backup with OpenIO SDS

CloudBerry Backup exists in several forms, from a simple and straightforward free version to a complete solution for managed backups designed for service providers.

In this document I am going to install the product on a Windows PC and configure it to work with an SDS instance.

Prerequisites

This procedure was tested on a PC with Microsoft Windows 10 and, just to simplify things, I’ll use a Docker container to deploy OpenIO SDS (I also tested it on my Raspberry Pi and it works in the same way).

The OpenIO SDS container is available on Docker Hub, and the procedure to have it up and running is very simple.

The first prerequisite is to have Docker on your PC. If you don’t have it, you can download and install the package from here. Once the package is installed, Docker launches automatically.

For this example, and to keep things simple, I’ll use the Swift protocol and TempAuth authentication system with the default credentials that are preset in the standard installation: demo:demo user and PASS_DEMO password.

Installation

Open a Powershell CLI (you’ll find it in the menu that appears by right-clicking the Start menu). At the prompt, type:

$docker pull openio/sds

Followed by

$docker run -ti --tty -p 192.168.1.121:6007:6007 --net=host openio/sds
../../_images/Picture1.jpg

These commands download the container image, if it is not available on the system, and launch it with specific options. The container is not usually visible to the rest of the world, but Docker provides a NAT service, which is why we use the –p option. It maps TCP port 6007, accessible only on a private network, to the same port in the external world. The IP address is the IP of my default interface (my_ip:int_port:ext_port). At this point, OpenIO SDS is up and running, and the Swift service is available on port 6007 of the local network from your PC. Remember to configure your Windows Firewall to make it accessible from other devices on your network.

Configuration

You can download Cloudberry Backup directly from CloudBerry Lab’s website; here’s the link. The installation process is straightforward, and a wizard walks you through the necessary steps.

../../_images/Picture2.png

Once it is installed, we have to configure access to the object store. To do this, you can select “Add New Account” from the first menu on the left.

A new window will appear:

../../_images/Picture3.png

Select the OpenStack Icon and fill in the fields in the dialog box as follows:

../../_images/Picture4.png

Please note that you have to select a container or create a new one; otherwise it won’t work.

Click OK, and voilà! The system is ready to rock and roll! Click the File menu and you’ll be prompted with the Create Backup Plan wizard.

../../_images/picture5.png

A few more steps and we’re done:

../../_images/picture6.png

Select the account you created earlier, and then click Next. Give the plan a name, select what you want to back up, how, when, etc., and, in the last window, check Run Backup Now.

../../_images/picture7.png

As soon as you click Finish, the backup will start.

../../_images/picture8.png

Final note

Configuring a client to use OpenIO SDS is very easy, especially with nice tools like CloudBerry Backup. You can find more HowTos like this on Docs.openio.io.