View Source

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

To upgrade the Backup Agent to version 5.x on Linux, log in to the server and perform the following steps.
{note:title=Notice for Version 5.x}Because of the product name change from "CDP" to "Server Backup," you will be unable to upgrade from a pre-5.0 agent using {{apt-get upgrade}}.
Instead, you will need upgrade using either {{apt-get dist-upgrade}} OR {{apt-get install <package name>}}.{note}

To upgrade the Backup Agent *from 5.0.2 to 5.2.0*&nbsp;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}


!psax.png|border=1!



2. Proceed with the upgrade:



{code}apt-get update{code}
!apt-get-update1.png|border=1!
&nbsp;
followed by


{code}apt-get upgrade
{code}
!apt-get-upgrade_5.2.0.png!

&nbsp;
_Or:_

{code}apt-get install serverbackup-enterprise-agent{code}

3. Start the new Server Backup Agent:



{code}/etc/init.d/cdp-agent start{code}


!agent-start1.png|border=1!


To verify the 5.2.0 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.png!






{note:title=Notice}Make sure you have a backup of the installation directory before upgrading.
{note}
Run the following commands:

{code}apt-get dist-upgrade{code}
OR

{code}apt-get install serverbackup-agent{code}



After the upgrade is complete, execute the following command to make sure that version 5.0.0 has been installed:

{code}dpkg -l | grep serverbackup{code}






{excerpt:hidden=true}Instructions on how to upgrade the Backup Agent on Debian and Ubuntu. {excerpt}