Backup and Restore

Backup

Only data that can not be easily recreated are backed up. That includes crawler configurations, users, files uploaded to requests, activities and subjects and complete datastorage except documents and their annotations.

Crawled documents with annotations are not being backed up, you can always recrawl them


Backups are not being created automatically

Containers has to be running during backup creation

To create backup, log to machine where GDPR Explorer is running and issue following commands:

sudo docker exec -it gdprexplorer_transformator_1 /backup_file-storage-filesystem.sh
sudo docker exec -it gdprexplorer_datacollector_1 /backup.sh
sudo docker exec -it gdprexplorer_datacollectordb_1 /backup.sh
sudo docker exec -it gdprexplorer_ldap_1 /backup.sh
sudo docker exec -it gdprexplorer_datastorage_1 /backup.sh

Those create new archives in /var/dockerbackup that can be copied to your safe backup location.

Restore

Install solution in standard way as described installation documentation.

Copy backup archives to /var/dockerbackup into respective folders.

Containers has to be running during restore procedure

Run following scripts sequentially to perform restore. Those scripts are asking for several confirmations so be sure to check current output in the terminal.

sudo docker exec -it gdprexplorer_transformator_1 /restore_file-storage-filesystem.sh
sudo docker exec -it gdprexplorer_datacollector_1 /restore.sh
sudo docker exec -it gdprexplorer_datacollectordb_1 /restore.sh
sudo docker exec -it gdprexplorer_ldap_1 /restore.sh
sudo docker exec -it gdprexplorer_datastorage_1 /restore.sh



Get me there: