Skip to main content

Data Management

Introduction to data storage

In standalone deployment mode, storage components are already built into the image, and users do not need to install them separately. The generated data is stored in the specified directory on the server through mounting.

The default data path is /data/mingdao. If you have [custom data path](../../../../faq/deployment.md#How to modify the default storage path-/data/mingdao), the actual situation shall prevail.

The data generated by the storage component is mounted in the /data/mingdao/script/volume/data/ directory of the server by default. The directory structure is as follows:

/data/mingdao/script/volume/data/
├── kafka
├── logs
├── mongodb
├── mysql
├── redis
├── storage
└── zookeeper

Description of data stored in each directory:

  • kafka, stores message queue data, expired data will be automatically cleaned by default

  • logs, the log directory of the component service

  • mongodb, stores business data (such as applications, worksheets, workflows, etc.)

  • mysql, mainly stores basic system data such as users and organizations

  • redis, cache data

  • storage, storage of data such as attachments

  • zookeeper, provides services for kafka

Data backup

  • Refer to Backup Document

  • If you are using a cloud host, you can use the disk snapshot function of the cloud provider