In case of purchase of the CDP backup services, you can activate and configure the backup of your VPS in such a way that the back up of the entire VPS will be saved on a third-party backup server.
To activate and configure it, you should follow the instructions below:
I. Installation of the Backup Agent.
1. Set up the APT repository.
To do it modify /etc/apt/sources.list and download the R1Soft apt gpg key:
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
2. Update the kernel:
apt-get update && apt-get install linux-image-amd64 && apt-get install linux-headers-amd64
To run the command - press Y + Enter.
3. Then install the Backup Agent with the following command:
apt-get install serverbackup-enterprise-agent
To run the command - press Y + Enter.
4. Set up R1Soft module:
r1soft-setup --get-module
5. Restart the Backup Agent:
/etc/init.d/cdp-agent restart
II. Addition of the verification external backup storage key.
To work with the external backup storage, you must set up the verification key on your VPS. The host name of the backup server can be found in the email “Your CDP Backups service is ready!”:
Run the command:
serverbackup-setup --get-key https://server%name
Server%name can be found in the email “Your CDP Backups service is ready!”
It should look like: serverbackup-setup --get-key https://usstor02.twinservers.net
III. Activation of the backup of your VPS.
To activate the backup of your server you need go to your Client Area and specify your VPS in the CDP Backups service settings.