This article will outline how to upgrade the R1Soft Backup Agent installed on a Linux Debian or Ubuntu machine.
Step 1: Stop the R1Soft Backup Agent from running. Use the following command to stop the Backup Agent since the upgrade process cannot take place if the process is running.
service cdp-agent stop
This other command achieves the same thing.
/etc/init.d/cdp-agent stop
To confirm that the Backup Agent is not running. You need to confirm that there are no running or defunct cdp-2-6 processes by executing the following command.
ps ax | egrep –i c[d]p
Step 2: First, we will update the APT package information using the following command.
apt-get update
Next, perform the upgrade by running the following command. Press "y" to proceed with the upgrade when you get the prompt.
apt-get install serverbackup-enterprise-agent
Step 3: Start the new Backup Agent by running the following command.
/etc/init.d/cdp-agent start
To verify that the agent has been upgraded to the latest version, use this command.
egrep "Agent Version|Starting" /usr/sbin/r1soft/log/cdp.log | tail -n2
Congratulations! You have successfully upgraded your Backup Agent. Due to the restart of the service, a full block scan will be conducted to ensure all the replicas are consistent.