I want to move my sharepoint webapplication from one server to another.

I have more than 70 pages and 15 visual webparts, which are used in pages.

My question is how can i move application with all pages and webparts and content. Without any loss of content.


  • If the servers are in the same farm, there's nothing you need to do besides start the Microsoft Foundation Web Service on the additional farm server. Or are you moving to a different farm?
    – user6024
    Feb 10, 2017 at 17:57

1 Answer 1


If you will migrate a web application to another server in another farm, you should first make sure that the SharePoint Build number of destination environment must be higher than or matched with the build number of the source environment, to make sure that check.

Second, you have two methods to migrate your web application

  1. Database-upgrade

    • In source farm, Take a backup of the content database via SQL Management Studio.
    • In destination farm, Create A web application, Site Collection.
    • In destination farm, Dismount the web application content database, via this command

Dismount-SPContentDatabase "<ContentdBName>"

  • In destination , via SQL Management Studio , Restore the content database.
  • In destination , Mount it to the created web application,

Mount-SPContentDatabase "<ContentDb>" -DatabaseServer "<DbServer>" -WebApplication http://SiteName

For more details check Restore / Migrate a SharePoint Web Application to another farm from SQL Database Backup

Note: if your web application has multiple content database, you should backup all the content databases via SQL Management Studio and restore them to the new farm then mount them to the new web application.

  1. BackUp and Restore

    • Take a backup from the old web application.

Backup-SPFarm -Directory <BackupFolder> -BackupMethod {Full | Differential} -Item <WebApplicationName> for more details check Back up a Web application

Then restore a web application as mentioned at Restore a Web application

If your web application has only one site collection do the following:

  • Take a backup of site collection from the old web application.
Backup-SPSite -Identity http://siteURL -Path "C:\\MoveSiteCollection.bak"
  • Create a new web application.

  • Restore backup in the new web application.

Restore-SPSite -Identity http://url -Path "C:\MoveSiteCollection.bak"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.