So, what is R1soft? Why R1soft? How does it work? What are the types?

Let’s straight away jump on to our topic without much introduction!

What is R1soft?

R1soft, to put it simply, is a backup tool and as a web-hoster or anyone who is related to hosting, you would very well know about the importance of the data backup. R1soft is one of the best tools which uses minimum resources using incremental backup technique. As the term mentions, incremental backup is the technique in which the changes made from the previous backup is stored. Each time the backup runs, it does not backup all the data and due to this, the time and resource used for each backup is minimal.

Why R1soft?

  1. Simple installation: You just need to install the CDP server in the server to which the data backup needs to be stored and a CDP agent on the server from which the data is being backed up. The steps to install both will be discussed further in this blog.
  2. Incremental Backup: You should have wondered what CDP is? It’s Continuous Data Protection (CDP), which gives uninterrupted backing up of the data. The user can determine the time, interval, files/directories to backup the data. The data can be backed up even at an interval of 15 minutes.
  3. Friendly GUI: The GUI is made in such a way that even a newbie can simply work on R1Soft.
  4. Recovery points: You can customise the recovery points as per your requirements.
  5. Site-to-site replication: If you are using multiple servers at different locations, this is a feature that is sure to come in handy. This helps in backing up the data regardless of the location.
  6. OS: Works on Linux and Windows environment.

How does it work?

Here are the detailed steps to install both the CDP server and CDP agent on a Linux machine.

CDP server installation.

  1. Add repo: a yum repository for r1soft.
# cd /etc/yum.repos.d
# vi r1soft.repo

Add the below lines to the r1soft.repo file.

name=R1Soft Repository Server

2. Install the r1soft package.

#yum install r1soft-cdp-enterprise-server -y

Once installation is completed, you can use the below command to list all available options.

#r1soft-setup --help

3. Setup the GUI.

You would need to configure a username and a password to login the GUI of R1Soft. The command to do so is as below.

# r1soft-setup --user DESIRED_USERNAME --pass DESIRED_PASSWORD

An example is shown below. You too should get a similar output.

# r1soft-setup --user admin --pass r1soft
Server username and password set
The R1Soft CDP Server must be restarted for these changes to take effect
Use '/etc/init.d/cdp-server restart' to restart.

*You can even configure a specific port for the GUI, which is a terrific advantage. To do so, you can use the step:

# r1soft-setup --http-port 8080 --https-port 8443

By default the ports would be 80 for http and 443 for https. You have now changed it to 8080 and 8443 respectively.

You can now restart the CDP server.

# /etc/init.d/cdp-server restart

That’s it for CPD server installation. You can now call the IP with the customised port(if any) to access the CDP admin panel.

CDP-agent installation

  1. Add repo: a yum repository for r1soft. (This is the same step as that of installing a CDP server)
# cd /etc/yum.repos.d
# vi r1soft.repo

Add the below lines to the r1soft.repo file.

name=R1Soft Repository Server

2. Install CDP-agent.

# yum install r1soft-cdp-enterprise-agent -y

3. Install CDP-Module

# r1soft-setup --get-module

This command should get the module installed. One of the common errors being “headers missing” and the installation getting interrupted; for this, you can download the kernel-devel according to kernel version and install it. To find the kernel version, use the below command.

# uname -a

4. Port 1167 needs to be open on the server.

As CDP is run on port 1167, the port needs to be opened on the agent server. This needs to be done from the server firewall. Use these commands to do so.

  • CentOS 6:
# sudo iptables -I INPUT -p tcp -m tcp --dport 1167 -j ACCEPT
# sudo service iptables save
  • CentOS 7:
# sudo firewall-cmd --zone=public --add-port=1167/tcp --permanent
# sudo firewall-cmd --reload

5. Add CDP-server key:

You can add the CDP-server’s key to the location:

# vi /usr/sbin/r1soft/conf/server.allow/

Note: - CPD-server IP

You can get the CPD-server key by logging into the server’s GUI and going to:

Advanced >> Public key.

That’s it for installing CDP-agent as well.!!

I will add the steps to create, configure, disable and delete a Protected Machine, where we configure backup, in the next episode of this blog.

Adios Amigos.!!