Moving Folders
In case there is a need to move the artemis
folder (incl. git code)
to a new location due to e.g., permission issues, the following steps can be followed:
- Stop any running ARTEMIS instances (use
down
; see also this section). - Backup your
local_configs
folder; this includes backend, monitor and frontend configuration files. - Backup your
postgres-data-current
folder; this includes BGP update and hijack information, as well as related statistics, old configurations and intended service states. You can delete it altogether if you do not need this kind of state and want to start with a clean DB. - Backup your
mongo-data
folder; this includes the user DB used to authenticate and authorize frontend users. - Backup your
.env
file; this includes all environment variables used for ARTEMIS (see also this page). - Backup any
docker-compose
yaml files that you might have changed with custom volume mappings, environment variables, etc. - Clone ARTEMIS anew in a new filesystem location:
git clone https://github.com/FORTH-ICS-INSPIRE/artemis
. - Run the inverse steps 6, 5, 4, 3 and 2 (restore from backup locations).
- Start ARTEMIS as usual.
For kubernetes
setups please consult the ARTEMIS team in Slack.