CDP Backup

Installasjonsinstrukser for CDP Backup

Install Agent on CentOS / RedHat
Install Agent on Ubuntu / Debian
Install Agent on Windows
Firewall (applies to all operating systems)
General Documentation

Installing Agent on CentOS / RedHat

cat << EOF > /etc/yum.repos.d/r1soft.repo
[r1soft]
name=R1Soft Repository Server
baseurl=http://repo.r1soft.com/yum/stable/\$basearch/
enabled=1
gpgcheck=0
EOF

yum -y install kernel-devel-`uname -r`
yum -y install serverbackup-enterprise-agent
/usr/bin/serverbackup-setup --get-module --no-binary
/usr/bin/serverbackup-setup --get-key https://cdp6.stwbackup.net/
service cdp-agent restart

Installing Agent on Ubuntu / Debian

cd /root/
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
apt-get update 
apt-get install linux-headers-`uname -r` -y
apt-get install r1soft-cdp-enterprise-agent  -y
/usr/bin/serverbackup-setup --get-key https://cdp6.stwbackup.net/
/usr/bin/serverbackup-setup --get-module --no-binary
service cdp-agent restart

Installing Agent on Windows

Download and install http://repo.r1soft.com/trials/ServerBackup-Enterprise-Agent-win64.zip
Follow the information at http://wiki.r1soft.com/display/ServerBackup/Add+the+key+to+Windows+Backup+Agent to add approved CDP agents.
Add key for https://cdp6.stwbackup.net/

See pictures below



Firewall (applies to all operating systems)

CDP agent requires port 1167 open for backup to work.

x.x.x.x is the ipaddress for CDP backup server - see e-mail regarding CDP Backup when ordering

Iptables example
$ iptables -I INPUT -p tcp -s x.x.x.x --destination-port 1167 -j ACCEPT

Firewalld example
$ firewall-cmd --permanent --zone=public --add-rich-rule='rule family="ipv4" source address="x.x.x.x" port protocol="tcp" port="1167" accept'
$ firewall-cmd --reload

General Documentation

Se http://wiki.r1soft.com/display/ServerBackup/Documentation for generell dokumentasjon