# Confused about where the data from databased is being stored

**URL:** <https://community.influxdata.com/t/confused-about-where-the-data-from-databased-is-being-stored/2433>\
**Category:** Systems\
**Tags:** influxdb\
**Created:** [September 22, 2017, 2:11pm UTC](https://community.influxdata.com/t/confused-about-where-the-data-from-databased-is-being-stored/2433 "2017-09-22T14:11:00Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dgnorton](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/dgnorton/32/40_2.png) [@dgnorton](https://community.influxdata.com/u/dgnorton)\
**Post date:** [April 25, 2018, 1:20pm UTC](https://community.influxdata.com/t/confused-about-where-the-data-from-databased-is-being-stored/2433/6 "2018-04-25T13:20:32Z")

</div>

@amritanshkr there are configuration options for where data is stored. If you’re starting with a config file already (`influxd -config <path\to\config>`) then edit that file. If you’re running with default config (starting `influxd` with no flags), then you’ll need to generate a config file by running `influxd config > influxd.conf` and editing the following settings:

```auto
[data]
  dir=<path\to\data>
  wal-dir=<path\to\wal>

```

The config file settings are [documented here](https://docs.influxdata.com/influxdb/v1.5/administration/config/#data-settings-data).

---

_[View the full topic](https://community.influxdata.com/t/confused-about-where-the-data-from-databased-is-being-stored/2433)._
