Installation of CyBorgBackup¶
The following covers three different installation methods of CyBorgBackup.
Debian Package¶
The latest release of CyBorgBackup is available as a Debian package and can be downloaded from github releases page:
# apt install git postgresql-all redis python3-pip python3-virtualenv python3-setuptools python3-venv systemd nginx
# wget https://api.github.com/repos/cyborgbackup/cyborgbackup/releases/latest -O - |grep -oP '"browser_download_url": "\K(.*)(?=")' |wget -i -
# dpkg -i cyborgbackup_X.X.X_all.deb
To add UI system:
# wget https://api.github.com/repos/cyborgbackup/cyborgbackup-ui/releases/latest -O - |grep -oP '"browser_download_url": "\K(.*)(?=")' |wget -i -
# dpkg -i cyborgbackup-ui_X.X.X_all.deb
Note : MongoDB is not provided by the Debian repository, you need to follow mongodb documentation.
Docker Install¶
Warning
The current Docker implementation are currently unstable. Use with caution.
To install CyBorgBackup under Docker, run this command in your terminal of choice:
$ wget https://raw.githubusercontent.com/cyborgbackup/cyborgbackup/master/docker-compose.full.yml -O docker-compose.yml
$ cat > .env <<EOF
POSTGRES_PASSWORD=cyborgbackup
POSTGRES_USER=cyborgbackup
POSTGRES_NAME=cyborgbackup
POSTGRES_HOST=postgres
REDIS_HOST=redis
SECRET_KEY=$(openssl rand -base64 47|sed 's/=//g')
EOF
$ docker-compose up
If you don’t have docker-compose or docker installed, head over to the website for installation instructions.
Connecting to the interface¶
cyborgbackup-web-1 | admin user not found, creating one
cyborgbackup-web-1 | ===================================
cyborgbackup-web-1 | A superuser 'admin@cyborg.local' was created with password 'XXXXXXXXX'
cyborgbackup-web-1 | ===================================
If your server can be accessed from Internet, you can use the following interface based on stable release : https://ui.cyborgbackup.dev