# Setting storage path

**URL:** <https://community.influxdata.com/t/setting-storage-path/28486>\
**Category:** InfluxDB 2\
**Created:** [February 8, 2023, 7:28am UTC](https://community.influxdata.com/t/setting-storage-path/28486 "2023-02-08T07:28:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steff13](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@Steff13](https://community.influxdata.com/u/Steff13)\
**Post date:** [February 8, 2023, 7:28am UTC](https://community.influxdata.com/t/setting-storage-path/28486/1 "2023-02-08T07:28:22Z")

</div>

HiTogether

Please excuse the beginner question, but I haven’t figured out how to change the default storage path for my data.

I am running InfluxDB v2.6.1 on a Raspberry Pi 4 (RaspiOS) with a usb hard drive attached. The data should be stored on the mounted disk ( /media/disk) in the future.

Where and how can I store this new path?  
How can I save the data automatically in regular intervals?

Please do not just refer to the documentation.

Translated with [DeepL Translate: The world's most accurate translator](http://www.DeepL.com/Translator) (free version)
