# Data path configuration in source code (7.15) running in local machine

**URL:** <https://discuss.elastic.co/t/data-path-configuration-in-source-code-7-15-running-in-local-machine/287397>\
**Category:** Elasticsearch\
**Created:** [October 22, 2021, 5:45am UTC](https://discuss.elastic.co/t/data-path-configuration-in-source-code-7-15-running-in-local-machine/287397 "2021-10-22T05:45:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vnaveed](https://avatars.discourse-cdn.com/v4/letter/v/e19b73/32.png) [@vnaveed](https://discuss.elastic.co/u/vnaveed)\
**Post date:** [October 22, 2021, 5:45am UTC](https://discuss.elastic.co/t/data-path-configuration-in-source-code-7-15-running-in-local-machine/287397/1 "2021-10-22T05:45:44Z")

</div>

Hi..  
Am running the Elasticsearch source code (7.15) in my window machine, May I know in which file I have to change the path to store my data permanently Since each time I restart the machine build folder gets reset.

I found Elasticsearch.yml file inside build config need to know from where its getting updated.

Can some one guide me please.

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 19, 2021, 5:46am UTC](https://discuss.elastic.co/t/data-path-configuration-in-source-code-7-15-running-in-local-machine/287397/2 "2021-11-19T05:46:14Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
