If you wish to install the r1soft CDP agent on your VM, there are some steps which must be completed before you can begin performing backups to a CDP backup server.
Linux:
If not already installed, install packages related to your VM's kernel.
- For CentOS, Red Hat, Fedora (as root user)
- yum -y install kernel-headers kernel-devel
- For Debian, Ubuntu (as root user)
apt-get install linux-headers-$(uname -r)
2. Add the r1soft repository to your VM and install the CDP agent.
For CentOS, Red Hat, Fedora (as root user)
- Using your preferred editor, create and edit /etc/yum.repos.d/r1soft.repo. Add the following into the file and then save it:
- [r1soft]
- name=R1Soft Repository Server
- baseurl=http://repo.r1soft.com/yum/stable/$basearch/
- enabled=1
- gpgcheck=0
- Run the following command to install the CDP agent
- yum -y install serverbackup-agent
For Debian, Ubuntu (as root user)
- Update your apt sources to include the r1soft repository
- echo deb http://repo.r1soft.com/apt stable main >> /etc/apt/sources.list
- Download the r1soft apt gpg key and add it
- wget http://repo.r1soft.com/r1soft.asc; apt-key add r1soft.asc
- Update your apt sources
- apt-get update
- Install the agent via apt
- apt-get install serverbackup-enterprise-agent
Note: If your agent is unable to authenticate with the backup server, the agent may be configured to start in recovery mode. To repair this follow these steps.
Using your editor of choice, edit the /usr/sbin/r1soft/conf/agent_config file
Change the line: RecoveryMode=0 to be RecoveryMode=1
Save and exit the file
Restart the agent with the command /etc/init.d/cdp-agent restart .
Windows:
Download and run the CDP agent installer.
Open the BackupAgent Configuration Utility and add the CDP servers key to your agent by navigating to the Authorized Server Backup Managers tab.
Click on the Add button. A popup will appear prompting a for a Filename, Protocol, and Backup Manager.
In the Filename field, add the name of the server which you will be backing up to.
In the Protocol field, change this to be https:// .
In the Backup Manager field, add the domain name of the backup server you will be using. For example, if you are using the Atlanta backup location of Vault Networks this field would then be backup55.vaultnetworks.com
Click Ok and close the Backup Agent Configuration Utility.
Note: If your agent is unable to authenticate with the backup server, the agent may be configured to start in Debug mode. To repair this follow these steps.
Open the BackupAgent Configuration Utility.
Uncheck the Debug Mode checkbox in the Agent Configuration tab
Save and close the BackupAgent Configuration Utility.