How to store prerecorded data to InfluxDb?

Hi, I am trying to pull data from energy meters into the DB for the period before the DB was installed. I added influxDb after I installed the meters and test them, so I would like to store prerecorded energy data from hass. The problem is that the DB does not have data for previous period, which is expected, but the data is valuable to me and I would like to somehow push the data to the DB.

How can I make influxDb or homeassistant to store the data retroactive?

Thanks

My best bet would be the Spook integration.

You might find this post helpful: