0
votes

I have the first edition of SharePoint 2010 (no patches) and I need to upgrade it to the 2013 version. When executing this command:

Mount-SPContentDatabase "MyDatabase" -DatabaseServer "MyServer" -WebApplication https://sitename

I faced several errors when executing SQL DDL script due to the vast differences between the database schemas.

Please give me your suggestions if we need any prerequisite or any things.

2

2 Answers

0
votes

There are some steps to migrate from sp2020 to sp2013. In the end, if you done all rignt, cmdlet Mount-SpContentDatabase correctly upgrade your content database to new schema.

But first of all you need do

  1. Check version of 2010 farm to upgrade to 2013. You must have latest service pack for sp 2010
  2. Create clean 2013 farm with same passphrase and all accounts. Secure token service will not be migrate withoun same accounts and passphrase
  3. Migrate all your app services to save content (for example, metadata service) and create other app services via powershell
  4. Migrate content databases to new farm. Before you will mount, run Test-SpContentDatabase cmdlet for check errors

see more Upgrade 2010 to 2013 sharepoint

If you have errors - please, paste here text error message.

0
votes

Please run the command Test-SPContentDatabase -Name DatabaseName -WebApplication URL before mount the content DB.

https://docs.microsoft.com/en-us/powershell/module/sharepoint-server/test-spcontentdatabase?view=sharepoint-ps