edoc platform Administration Guide
Breadcrumbs

Overview of storage locations for operationally relevant data in the edoc platform system

The edoc platform system stores various data in specific directories that are required for the operation of edoc platform.

The following components are available in edoc platform (excerpt):

  • edoc agent (AKA agent): used to provide edoc platform and communicates with the edoc system control management application.

  • MicroK8s (Kubernetes): used to provide the containers under Ubuntu. The containers are used to provide the edoc applications and edoc services.

  • snap: is a service for the administration of Ubuntu and is used, for example, to install MicroK8s on Ubuntu.

If you want to divide the file system via virtual hard disks in edoc platform, you can use different mount points:

Storage location and environment variable

Data used

/

All data whose directories are not provided separately, such as /var, are stored in this directory.
By default, the operating system saves configurations (/etc), home folders (/home, /root), and the directory for the Unix system resources (/usr) in this directory.

/opt/agent

All data of the agent component that is required for communication with edoc system control at https://sc.edoc.de, for example, is stored in this directory.

/opt/agent/backup

This directory is the backup directory for the agent component.

The backup folder only exists if you have configured a backup for the system in edoc system control and a backup has been performed at least once.

/var/microk8s_persistence/

All data required to operate the containers for the edoc applications and edoc services is stored in this directory.

In the directory you will find further subdirectories for various edoc applications and edoc services. Example:

  • /var/microk8s_persistence/document: contains all data from edoc documents.

  • /var/microk8s_persistence/document_mysql: contains all mysql data from edoc documents.

SNAP_DATA (environment variable)

/var/snap/microk8s/1301 (microk8s 1.15)
/var/snap/microk8s/2530 (microk8s 1.19)

The environment variable SNAP_DATA shows the path to the version-specific data of the MicroK8s version.

The data of the running containers and the images of the containers are also stored in this directory.

SNAP_COMMON (environment variable)

/var/snap/microk8s/common

The environment variable SNAP_COMMON shows the path to the general data of the MicroK8s version. The general data includes data that is shared by every MicroK8s version.