Installation
The Elkarbackup v2.0 installation has been tested on the next systems:
Supported Systems
Debian Buster (10.0)
1. Install these recommended packages:
apt install debconf php php-cli rsnapshot apache2 mariadb-server php-mysql acl bzip2 php-xml libapache2-mod-php libssh2-1 mariadb-client gpg
2. Configure MySQL root password:
$ mysql_secure_installation
3. Add package repository key:
wget -O - http://elkarbackup.org/apt/archive.gpg.key | apt-key add -
4. Add elkarbackup repositories:
echo "deb http://elkarbackup.org/apt/debian buster main" > /etc/apt/sources.list.d/elkarbackup.list
And update package index files:
apt update
5. Install Elkarbackup:
apt install elkarbackup rsnapshot
Debian Bullseye (11.0)
1. Install rsnaphost package from Debian 10 Buster:
Debian 11 Bullseye won't distribute rsnaphost due to not being actively maintained, so we must use the package from Debian 10 Buster.: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986709
wget http://ftp.debian.org/debian/pool/main/r/rsnapshot/rsnapshot_1.4.2-1_all.deb
apt-get install rsnapshot_1.4.2-1_all.deb
2. Install mariadb-server and configure root password if you want a dedicated local DB server for Elkarbackup:
apt install mariadb-server
$ mysql_secure_installation
3. Add package repository key:
apt install gpg
wget -O - http://elkarbackup.org/apt/archive.gpg.key | apt-key add -
4. Add elkarbackup repositories:
echo "deb http://elkarbackup.org/apt/debian bullseye main" > /etc/apt/sources.list.d/elkarbackup.list
And update package index files:
apt update
5. Install Elkarbackup:
apt install elkarbackup
Ubuntu 20.04 LTS
1. Install these recommended packages:
sudo apt install debconf php php-cli rsnapshot apache2 mysql-server php-mysql acl bzip2 php-xml libapache2-mod-php libssh2-1 gpg
2. Configure MySQL root password and enable access by password:
sudo mysql_secure_installation
echo 'UPDATE user SET plugin="mysql_native_password" WHERE user="root";' | sudo mysql -u root mysql
3. Add package repository key:
wget -O - http://elkarbackup.org/apt/archive.gpg.key | sudo apt-key add -
4. Add elkarbackup repositories:
sudo sh -c 'echo "deb http://elkarbackup.org/apt/ubuntu focal main" > /etc/apt/sources.list.d/elkarbackup.list'
And update package index files:
sudo apt update
5. Install Elkarbackup:
sudo apt install elkarbackup
Docker
ElkarBackup docker repo in Docker Hub: https://hub.docker.com/r/elkarbackup/elkarbackup/
After the installation
Now you can access to Elkarbackup using the following URL:
Default user: root
Default password: root
Note: you can also use the address http://elkarbackup but first you need to add your IP/name to your DNS/hosts file.
After the installation, is highly recommended:
- Change root user's password and email address (Users -> Show -> Users -> "root")
- Configure notification email server and protocol (Config -> Manage Parameters)