Restore deleted data

Hi.

I have migrate to MariaDB and then deleted home-assistant_v2.db, not thinking much about it.
Now I have a problem.

My energy consumption data for past couple of months is gone/deleted :(.
I do have theassistant_v2.db file.

Can I somehow copy ENERGY data from home-assistant_v2.db to MariaDB?

Thanks.

Best regards.
Danijel