sherifabdlnaby / elastdocker

🐳 Elastic Stack (ELK) v8+ on Docker with Compose. Pre-configured out of the box to enable Logging, Metrics, APM, Alerting, ML, and SIEM features. Up with a Single Command.
https://towardsdatascience.com/running-securing-and-deploying-elastic-stack-on-docker-f1a8ebf1dc5b
MIT License
1.81k stars 320 forks source link

Forgot to set volumes.elasticsearch-data during installation :( #90

Closed hirisov closed 1 year ago

hirisov commented 1 year ago

Hello,

I forgot to set the volumes.elasticsearch-data during installation, so I think my data is now only inside the running containers. Is there any way to safely fix this, like stop the containers (without loosing the data), set a valid value for volumes.elasticsearch-data, copy the data from elasticsearch and restart it?

thanks, Gabor

hirisov commented 1 year ago

Never mind, docker handles the volumes automatically, no need to set any value for volumes.elasticsearch-data . You can use docker volume inspect elastic_elasticsearch-data to see where exactly docker puts the volume.