Define what data is saved (preserved) in the database

I am new to HA. Read the docs and some linked documents, but could not find where to chosse which data is saved.

From my perspective, the backend is growing a bit too fast. I could try with postgreSQL to make it a bit smaller, but my first approach is choosing the data.
And what procedure is used to handle older data? How can I take care of compression?

Have a read of this: https://www.home-assistant.io/integrations/recorder/#configure-filter

You may define purge_keep_days see: https://www.home-assistant.io/integrations/recorder/#purge_keep_days

There is none.

1 Like