General info

This section describes cBackup installation for CentOS 6 from RPM package. If you are want to undergo manual installation, please refer to general *nix installation description. Also please note, that RPM will unpack installation to /opt/cbackup by default and use Apache web server. If you want to choose e.g. Nginx, or place installation into different folder, refer to the same general installation description.

Update system and disable SELinux

yum update
sed -i --follow-symlinks 's/^SELINUX=.*/SELINUX=disabled/g' /etc/sysconfig/selinux

Install required software

sudo yum install -y wget git net-snmp epel-release yum-utils jre 

Install web server

sudo yum install -y httpd
sudo /etc/init.d/start httpd
sudo chkconfig httpd on

Install PHP 7

For RHEL-based distrib you want to add repository with PHP 7 or newer. E.g. for CentOS it could be REMI repository:

sudo rpm -ivh
sudo yum-config-manager --enable remi-php71
sudo yum install -y php php-gmp php-pecl-zip php-pdo php-mysqlnd php-intl php-pecl-ssh2 php-snmp php-mbstring php-mcrypt php-bcmath php-common php-cli

Install MySQL

Go to and setup external repo:

sudo yum install -y MariaDB-server
sudo /etc/init.d/mysql start
sudo chkconfig mysql on

Prepare user and database for cBackup. You want to use MySQL console to complete this task:

CREATE DATABASE cbackup CHARSET utf8 COLLATE utf8_general_ci;
CREATE USER 'cbackup'@'localhost' IDENTIFIED BY 'mypassword';
GRANT USAGE ON *.* TO cbackup@localhost;
GRANT ALL PRIVILEGES ON cbackup.* TO cbackup@localhost;

Adjust security

sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT
sudo /etc/init.d/iptable save

Download cbackup RPM and install it

wget -O ~/cbackup.el6.noarch.rpm ""
cd ~ && sudo rpm -ivh cbackup.el6.noarch.rpm

Change cbackup system user password and restart httpd service

sudo passwd cbackup
sudo /etc/init.d/httpd restart

This cbackup system user will be used to manage system daemon via SSH.

Start cBackup web setup

Open up you browser pointing to and compele setup process.

Setup complete

Now you can start using your cBackup and proceed with its initial setup

Upgrade and RPM

At no circumstances dont use rpm -Uvh to upgrade your cBackup installation. Package managers are not aware of upgrade procedures and will overwrite your installation with fresh version without applying migrations to commit changes to database scheme.