Export/Backup energy data

I’d like the ability to preserve my energy data. My database is getting pretty large and I would like to reset it.
I’m not that attached to the historical event data but the energy data is fast becoming valuable.
I’d love a feature to be able to either export energy data or for energy data to be separated in the core backup for individual restore.
Another option would be to enable config for energy component allowing data storage to a seperate database.

Have you found a solution to this? I just built a new instance docker => HassIO VM and would love to transfer over the energy data.

No change AFAIK. You’ll need to restore your full dbase to recover energy data.