InfluxDB - Setup to Compress Data older than 6 Months / 2 Years

Since i use a debian install and then installed the ha container version i don’t know exactly. You would need to ssh into the debian HA is running on. If you use the ssh add-on this does not work since you are getting into a container but not the host.
There are ways to get to the host but this is untested for me:

If you get this to work you can create the cronjob which does the database actions according to my tutorial.