How to move a SharePoint site with content from one SharePoint Farm to Another Farm

Hi

We have a SharePoint 2013 Farm. We have created a site collection and created a site under the site collection.

Users have started using it and uploaded documents to the libraries, submitted some records in the Lists.

Now due to operational issues we have to move this site to another SharePoint 2013 farm.

Our task is to Move this existing site to another SharePoint farm under an existing site collection.

Farm A

ServerA/SitecollectionB/MysiteA


Farm B

ServerB/SitecollectionB/MysiteA

Please suggest how this can be achieved.

Thanks.

August 28th, 2015 5:32pm

Move that site to a separate site collection and then to a separate content database.

Move that database and attach it to the new form.

You can move that site collection back as a site in new farm

You can achieve all this using powershell commands.

Free Windows Admin Tool Kit Click here and download it now
August 28th, 2015 5:42pm

Bharath,

Can you please elaborate. I do not have much exposure to SharePoint Administration

"Move that site to a separate site collection and then to a separate content database."

 "Move that database and attach it to the new form."

 "You can move that site collection back as a site in new farm"

Can you please elaborate with the Powershell commands. 

THanks.

August 31st, 2015 10:48am

If the url /SitecollectionB is not present in farm B, you can just attach database in new farm and start using it. If it is already there in Farm B then do these steps in farm A

export site using central admin (no powershell needed)

Create new content database, and force new site collection with new url (sitecollectionC)to be created in that database (by making all database offline and just making that database online, note: offline means no new site collection can be created in that database , and does not create any outage to existing site collection)

import site to that site collection as sub site (use import-spweb parameter)

move that database to new farm and start using it.

Free Windows Admin Tool Kit Click here and download it now
August 31st, 2015 5:36pm

Hi,

Use following command to move the site collection from one Database to new/Another :

Move-SPSite <http://ServerName/Sites/SiteName> -DestinationDatabase <Destination/NewContentDb>

After the site collection is moved to Destination DB , detach and attach Destination db to the farm where you wish to move the site collection and attach the DB to web application using following command.

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

Hope this helps :)

September 1st, 2015 2:02am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics