Home-assistant_v2.db - Can this file be cleaned up/deleted?

Hey all,

It seems that this file over time is being quite large. Along with the file growing, the snapshots are getting bigger as well. If I don’t need the “log” of temperature, graphs etc., can I then safely delete the file and reboot HA and then it will regenerate it?

Anyone tried it?

Yes I do exactly the same from time to time. It’s automatically created on restart.

1 Like

Yes it’s disposable… but why not set up a days to keep and auto-purge and exclude entities you aren’t interested in?

How can I do that? Do you have a link or so?

Argh Yes!

I was using other words in my search and didn’t come across that one!
Thanks - will look into it.

1 Like