When I migrate SharePoint site collection from one farm to another farm, then all the link (embedded) in documents are changed after migration.
For example.
Before migration – the link in a work document let’s say http://mysite.test.com/sites/100/Home.aspx
After migration – link is http://mysite-new.test.com/sites/100/Home.aspx
I am using below step for migrating site collection from one farm to another farm (it is used for bulk migration)
- First we create temp database in old farm
Let’s say “MY_CONTENT_TEMP”
- Move the site collection to newly created temp database using “Move-SPSite” command
Move-SPSite "http://mysite.test.com/sites/100" -DestinationDatabase " MY_CONTENT_TEMP "
- After completion of movement we de-attach the temp database in old farm
- Then we migrate the database to new farm i.e. new SQL server with help database admin team
- After migration to new SQL server, we attach the content database to new farm