You can install the latest R1Soft CDP (Continuous Data Protection) Agent on your Linux server by following these steps:
๐งท Step 1: Create the R1Soft YUM Repository
Create a new repo file:
vi /etc/yum.repos.d/r1soft.repo
Add the following content:
[r1soft]
name=R1Soft Repository Server
baseurl=http://repo.r1soft.com/yum/stable/$basearch/
enabled=1
gpgcheck=0
Save and exit.
๐ฆ Step 2: Install the CDP Agent and Dependencies
Run the following commands:
yum install r1soft-cdp-enterprise-agent
yum install kernel-headers
yum install kernel-devel
Then build the required module:
r1soft-setup --get-module
Restart the CDP Agent:
/etc/init.d/cdp-agent restart
๐ Step 3: Set Up Authentication for the Agent
To connect your server to the backup server, set the authentication key:
serverbackup-setup --get-key http://<cdp-server-ip>
OR manually add the CDP server IP to the allowed list:
echo "<cdp-server-ip>" >> /usr/sbin/r1soft/conf/server.allow
Example:
echo "127.0.0.1" >> /usr/sbin/r1soft/conf/server.allow
โ Step 4: Done!
Your R1Soft CDP Agent is now installed and configured to communicate with the backup server.