Any way to export current Emonpi image to virtual environment?
Here are the instructions for installing on DigitalOcean as an example https://github.com/openenergymonitor/EmonScripts/blob/stable/install/digital-ocean-install.md
You can then upload data from the emonPi to the VM using the emoncms sync module.
Don’t try the backup/restore - it takes across the settings files and that can seriously disturb things.
The USB import may work though depending on the HW the VM is on.