View Source

{note:title=Notice}For Server Backup 5.2.x and later, you must upgrade the components in the following order or your backups may fail:
* Data Center Console (if applicable)
* Backup Manager
* Backup Agent
{note}

{note:title=Notice for Version 5.x}
* With the product name change from "CDP" to "Server Backup," the RPM package name changed. This means that after you upgrade from a pre-5.0 agent, you will need to manually start the new agent by executing the following command:
{{service cdp-agent start}}
* We recommend that you update the kernel module by running:
{{serverbackup-setup \--get-module}}
{note}

To upgrade the Backup Agent *from 5.0.2 or 5.2* on Linux, follow the instructions below.

1. Perform the following manual steps before the upgrade:

Stop the Backup Agent by executing the following command:

{code}service cdp-agent stop{code}
or
{code}/etc/init.d/cdp-agent stop{code}
Verify that there are no running or defunct {{cdp-2-6}} processes by running:

{code}ps ax | egrep –i c[d]p
{code}
!egrep-i1.png|border=1!
 
2. Proceed with the upgrade:

{code}yum update {code}

!yum-update_5.2.0.png!

Confirm your request by entering "y":

!yum-update2_5.2.0.png!

_Or:_
{code}yum install serverbackup-enterprise-agent{code}

!yum-install-ag_5.2.0.png!

Enter "y" to confirm the command.

!ag-y_5.2.0.png!

3. Start the new Server Backup Agent:



{code}service cdp-agent start{code}




!service-agent.png|border=1!



To verify the most recent version of the Agent is running, run the following command:

{code}egrep "Agent Version|Starting" /usr/sbin/r1soft/log/cdp.log | tail -n2{code}

!egrep_5.2.0_centos.png!


----
To upgrade Linux Backup Agent to version 5.x, perform the following steps.

1. Execute the following command:

{code}serverbackup-setup --get-module{code}

The upgrade process can take some time.


!get-module.png|border=1!


2. Then manually restart the new Backup Agent by executing the following command:

{code}service cdp-agent restart{code}

A Full Block Scan will be initiated after an agent upgrade due to a restart of the agent service/daemon. This ensures replicas are consistent even after a server crash or reboot.

3. After the upgrade is complete, execute the following command to make sure that the latest version is installed:

{code}rpm -qa | grep serverbackup{code}

!grep-ag_5.2.0.png!

{excerpt:hidden=true}Instructions on how to upgrade the Backup Agent on CentOS, RHE, and Fedora.{excerpt}