As I am moving I want to start fresh with homeassistant after running it for years and years. I am not really interested in most of the data, but want to keep the energy, gas and waterconsumption in the database. What would the best approach be? Ideally I was thinking of exporting that data and then reimporting it in a fresh MariaDB to ensure all other data is really lost but cannot find out how to do this the best way.
Any tips?