Store data on SD card or external drive

Hi All,

I’m quite new to influxdb and this forum.
I’m using influxdb version 2.6.1 and a Raspberry pi with the Debian OS v11.

I have a telegraf configuration working that is storing data on influxdb located on the main/default drive, but would like to know how to save the data directly on an SD card?

i’ve formatted and mounted the SD card to: /mnt/SDcard

There is a default configuration file:

I can also see the directories in the /var/lib/influxdb/

Any assistance would be much appreciated

I seem to have found the answer to my question here. Perhaps I was phrasing it incorrectly

hello @infin80y,
Thank you so much for sharing your solution!