Hi, you could use the image import function for your vms disks, like described here (first export/just copy all of them to some disk that you could literally carry to the site with the 5.2 installation):
what you still need would be a script that exports and imports your vm definitions.
and therefore I think that importing directly into the database is not the way to go!
i would write some script that is exporting all the vms definitions to “one template files” in text format.
so you would have one template file for each vm.
certainly you would have to add the correct names of the images (in the new 5.2 store) also to these template files.
on the new site you then would have to instantiate every template.
with some helper scripts this should be doable.
what do you think? still quite tedious right?
best
Jojo