Backup and Restore
Backups
Images
At the moment individual customer setting are stored directly in docker images, which are configured by KOBIL. Those images are maintained and backup by KOBIL.
Configuration
Configuration Setting, URLs, Ports and Passwords are store in following configuration file. This file is should be backup for each machine individually.
/opt/kobiliam/docker-compose.yml
Restore
Is Docker installed and running?
Run command below to receive status of Docker platform.
systemctl status docker
Positive Response
docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/docker.service.d
└─http-proxy.conf
Active: active (running) since Mo 2018-12-17 11:06:18 CET; 1 months 10 days ago
Docs: https://docs.docker.com
Main PID: 14035 (dockerd)
Tasks: 61
Memory: 2.2G
CGroup: /system.slice/docker.service
├─14035 /usr/bin/dockerd -H unix://
├─20087 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-po...
├─20111 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-po...
├─20206 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-po...
├─20671 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-po...
└─27463 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-po...
Note: If container are not running you will see only docker platform status without docker container list. Then Please start docker container. See section Restart.
Note: If requirement are not fulfil, please follow installation prerequisites.
Is Docker Compose installed?
Test the installation.
sudo /usr/local/bin/docker-compose --version
Response OK
docker-compose version 1.21.2, build a133471
Note: If requirement are not fulfil, please follow installation prerequisites.
Pull docker-compose.yml from Backups
Copy docker-compose.yml from your backup to the mIDentity home directory. Remember each machine has its own configuration file.
Start Docker Compose
This command start docker compose, images defined in configuration file will be pulled KOBIL Docker Hub Private Repository.
docker-compose up -d
Note: You need to be logging into docker hub Note: When starting docker compose, you need to start it always from folder where docker compose configuration file is located.