PanMat
(Pankaj)
November 3, 2021, 2:15am
1
Hi,
I just moved over to InfluxDB and hope to start using Grafana for dashboard, it is my understanding that InfuxDB is a time-series database. But it is not clear to me how long (1 week, 1 month or so on) would this data be stored.
And I cannot see any mention of default value at the integration page - InfluxDB - Home Assistant
Any pointers will be appreciated?
Data is stored indefinitely.
1 Like
PanMat
(Pankaj)
November 3, 2021, 2:34am
3
Then theoretically wouldn’t the HA machine run out of storage space?
Unless of course I am being my usual self and missing something very obvious
NathanCu
(Nathan Curtis)
November 3, 2021, 2:40am
4
you’ll have to handle that…
Here’s an older article but unless im missing something - still valid. (spoiler - search for retention policy near the end of the article)
InfluxDB with Home Assistant – Sean’s Technical Ramblings (seanb.co.uk)
1 Like
PanMat
(Pankaj)
November 4, 2021, 2:52am
5
Seems like if you go to InfluxDB admin tab in the UI, the databases have an edit button for the retention policy which can be set to any desired time value
4 Likes
Hello everyone ! Trying to change the storage time but nothing works.
! Please, tell me what to do.
PanMat
(Pankaj)
October 31, 2023, 6:57pm
7
Try this setting, it is working for me.
unfortunately, the trick didn’t work
@ExUser44 It may seem trivial but the “d” is important, you need to enter “730d” not 730.
1 Like
Thank you very much ! As we say: “i didn’t see the elephant”
This is my first experience with databases.