Migrate from PI to Nas/docker - Energy data

Installed HA docker at my synology nas as a replacement to my PI HA. Now would like to transfer at least my energy history, would be a shame to loose it… Any thoughts appriciated, could find anything myself but the backup addon that doesn’t seem to be of much help in my case.