@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:
[data]
dir=<path\to\data>
wal-dir=<path\to\wal>
The config file settings are documented here.