Data backup
For backup, the following copies are required:
-
Application database. Database dump can be obtained by executing:
sudo docker exec app-db pg_dump -U backend backend > db_dump.sql
on the host with the APP module deployed
-
Directories:
- /opt/derscanner/app/services/backend/files/
- /opt/derscanner/app/services/frontend/nginx/ssl/
-
Configuration files:
- From the APP module server:
- /opt/derscanner/app/configs/backend.env
- /opt/derscanner/app/configs/postgres.env
- /opt/derscanner/app/services/frontend/nginx/templates/default.conf.template
- From the SAST module server:
- /opt/derscanner/core/sast/configs/sast-daemon.env
- From the DAST module server:
- /opt/derscanner/core/dast/configs/dast-daemon.env
- /opt/derscanner/core/dast/configs/zap.env
- From the SCA module server:
- /opt/derscanner/core/osa/configs/osa-daemon.env
- From the APP module server:
-
Application logs (optional)