Migrate User Profile My Links
Written by Mathias Osterkamp | Thursday, May 6, 2021
Problem SharePoint users can store favorite links directly inside the mysite. If you like to migrate to another SharePoint version or different server maybe you like to transfer these links without copy the database. In general these links are stored in the ProfileDB of your server. There is a smart article about this from Vinods source.
Here a small sample, where you can edit links:
source
Solution I wrote a improved script to import and export the data via xml.