Do you run "Test-SPContentDatabase" before migration?

Updated by Tiago Araújo [SSW] 1 year ago. See history

123
<introEmbed body={<> It is strongly recommend to run a pre-migration check on the SharePoint content database before attaching it to trigger the migration process. </>} />

Assumptions:

  • You have already installed the customized wsp package you know
  • You have restored the content database to SQL server
  • You haven't attach the content database yet

Steps:

  1. Run SharePoint PowerShell Console as administrator
  2. Run the command below
Test-SPContentDatabase - name WSS_Content_DB - webapplication http://sitename
  1. Check the output log, ensure there isn't any errors

Acknowledgements

William Yin
Related rules

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star