MIP is currently deployed using kubernetes and the data that need to be persisted are mounted in volumes. The data that need to be persisted are located ONLY in the central node.
The volumes that are created in the host machine, are listed in the storage data paths section of the values.yaml
file.
The folders that currently need to be backed up are the following:
- The portal-backend stored data under
/opt/mip-deployment/.stored_data
- The config folder under
/opt/mip-deployment/config
Backing up the aforementioned folders is enough for saving all important information. Any packaging or compression can be used after the folders have been extracted.
The services DO NOT need to be stopped to create the backup.
For the recovery operation the following steps are needed:
- The services need to be stopped.
- If any data from the services exist in the mounted folders, they need to be removed. Only the backup information will be restored, we cannot merge different states.
- The backup is moved to the mounted folders, accordingly.
- The services are started.