Install Backup Agent on Debian and Ubuntu

Install the Backup Agent using APT

1. Install kernel sources

If you are using an unmodified kernel provided by Ubuntu installer, install the kernel-devel package:

 

 apt-get install linux-headers-`uname -r`

 


2. To configure an APT repository:

Modify the /etc/apt/sources.list to include the R1Soft repository, and then download the R1Soft apt gpg key using a command similar to the following:
 

echo deb http://repo.r1soft.com/apt stable main >> /etc/apt/sources.list wget http://repo.r1soft.com/r1soft.asc apt-key add r1soft.asc


 

Run the following command:

apt-get update

 

3. Once the APT repository is configured, you can use the following command to install the Backup Agent:

Install the Backup Agent using APT

apt-get install serverbackup-enterprise-agent

  

4. Compiling Server Backup kernel module against kernel headers

You must compile the kernel module using the kernel headers. The program serverbackup-setup obtains all the information needed to compile a module from your running kernel.

In order for kernel module compilation to work, you should have Internet connectivity directly from the Linux server you are installing the Backup Agent on, to TCP port HTTPS (443), on the host krnlbld.r1soft.com.

You can test connectivity with the following command (this may take a minute):

 

 serverbackup-setup --test-connection 

 

 

 

 

5. Build Server Backup kernel module online (direct Internet connection to R1Soft build server)

To attempt to build the kernel module, run the following command (this may take several minutes):

 

 serverbackup-setup --get-module 

 

If module is compiled and installed successfully, the system displays output similar to the following:

 

 Saving kernel module to '/lib/modules/r1soft/hcpdriver-cki-3.2.0-29-generic.ko' Kernel module is now installed. Use '/etc/init.d/cdp-agent restart' to load the new driver


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 14614