I want to copy the exact hierarchy (as seen below) of Groups, termsets and all level of terms from one MMS to another MMS:
I am looking for sample server side API code to perform this from where i can get an idea?
I have used following command to export whole the termstore:
Export-SPTerms -TermStore (Get-SPTaxonomySession -Site $sourceMMSWebApp).TermStores -OutputFile "c:\temp\termStore.xml"
now, i want to import all the groups to destination MMS, which command should i use?