Install Backup Agent on Debian and Ubuntu Manually
Now a day’s daily backups are essential for your peace of mind. R1Soft Server Manager is a backup platform which offering high protection on both client-side and server-side resources. Here are the steps for installing R1Soft in your Ubuntu server.
You can install the R1Soft Backup Agent on your Ubuntu server using the following 2 methods:
1) Install the backup agent using APT
2) Install the Backup Agent using DPKG
Install the Backup Agent Using APT
1) First, you need to edit the /etc/apt/sources.list file to include the R1Soft repository.
$ echo deb http://repo.r1soft.com/apt stable main >> /etc/apt/sources.list
2) Then download the R1Soft apt gpg key using the below command:
$ apt-key add r1soft.asc
3) Update the packages using the below command.
$ apt-get update
4) Now you can install the Backup Agent.
$ apt-get install serverbackup-enterprise-agent
Install the Backup Agent using DPKG
Alternatively, you can also manually install Backup Agent using DPKG command. To download Backup Agent, please follow the below steps.
1) Log in to the R1Soft Customer Portal at https://dist.r1soft.com/download/.
2) On the Downloads page, locate the Backup Agent product group.
3) Click the Windows 32-bit (x86) link for 32-bit binary hardware/OS or click the Windows 64-bit (x86_64/AMD64) link for 64-bit binary hardware/OS.
4) Download one of the following products:
For a 32-bit system: ServerBackup-Enterprise-Agent-linux32.zip
For a 64-bit system: ServerBackup-Enterprise-Agent-linux64.zip
5) Extract the zip file.
$ unzip ServerBackup-Enterprise-Agent-linux64.zip
6) Finally, you need to install all packages using the below command.
$ dpkg -i * .deb
Install Server Backup Linux Device Driver.
Once the installation completed, next you need to install Server Backup Device Driver in your server. To do this, please follow the below-given steps:
You can test connectivity with the following command (this may take a minute):
$ serverbackup-setup –test-connection
2) Install kernel sources.
$ apt-get install linux-headers-`uname -r`
3) Build Server Backup kernel module online
It is the direct internet connection to the R1Soft build server. Run the following command to build the kernel module.
$ serverbackup-setup –get-module
After the module has been successfully installed, use the following command to restart the Backup Agent to load the new driver.
$ /etc/init.d/cdp-agent restart
4) Build the server backup kernel module offline.
If there is no internet connection between your server Backup Manager and R1Soft build server, you can compile the kernel module using the following steps:
1) Create a tarball file with the kernel headers.
2) Copy this tarball file from the server to some other computer which has an Internet connection to R1Soft build server.
3) From this computer, upload the tarball to the R1Soft build server, and then wait for the compilation to finish.
4) When compilation is finished, download binary module, and then copy it back to the Backup Agent machine. Start by executing the following command:
$ serverbackup-setup –no-binary –tarball-only /tmp/kernel-headers.tar.gz
5) Copy the generated tar.gz file to a computer with Internet access.
6) Go to https://krnlbld.r1soft.com/ and upload the .tar.gz file to build a kernel module.
7) Then download that kernel module.
8) Copy this module to your Linux Server and place in the folder /lib/modules/r1soft.
9) Restart the Backup Agent using the follow/etc/init.d/cdp-agent restart).
If you need any further help, please do reach our support department.