The “export” and “import” of the data works quite well.
However, all the direct pins in the original node are indirect pins in the “restored” datastore and the MFS in the “restored” datastore contains zero references.
But, it’s a really good start to work with. I see if I can clean up everything a bit and post revamped script in a day or two.