Deleting MariaDB rows older than 30 days

My db has never been purged of old records in the 3 years I’ve been running OH and has gotten quite large. How can I purge old records on a regular basis?
Thanks

This question is more related to your used datase. Did you try to look at Google?

Indeed it does, but I was hoping someone in similar circumstances here might provide some insight.

“My Break-Dancing days are over, but there’s always the Funky Chicken” – The Full Monty

Since there is no openHAB solution for this question, the used solutions will most probably be something shown in the search result. Sorry for that!

Not a problem. I found a similar solution for influxdb here, so I hoped I’d find one for mariadb.

“My Break-Dancing days are over, but there’s always the Funky Chicken” – The Full Monty