$ git clone https://github.com/KOYU-Tech/php-backuper.git
$ composer install
$ cp .env.save .env
$ nano .env (edit parameters and credentials)
$ crontab -e (paste the command)
php console databases_backup
php console ./target_directory/path/
php console gitlab_backup
Note: it uses gitlab-rake gitlab:backup:create
and it requires root access