COPY A SITE BETWEEN SERVERS

Hi all,

I am trying to copy a web application site from one production server to a test server as there is not test environment for this.

Unfortunately I am not an expert I just found myself in the middle of this and we do not have a sharepoint expert.

I found solution which state to use powershell, site and content structure backup and restore etc. but it looks like none of them work.

Can you give me a way to easily copy the application?

Thanks.

Regards

Federico

May 29th, 2015 5:17am

Hi,

If you need to copy the whole web application, you can make a copy of your content database, move it to different server and attach it to existing web application where you want your content to be.

If you just need a site collection, you need to do backup of site collection and then restore it to the environment.

Or if you want to move just one web or sub site, you can use powershell and export spweb object.

hope this helps

Free Windows Admin Tool Kit Click here and download it now
May 29th, 2015 8:50am

Hi,

I would like to recreate the same application under a test machine so I suppose I should make a copy of content database.

How Am I suppose to locate the content and transfer it by sql or something different?

Regards

Federico

June 1st, 2015 7:45am

Hi,

I would like to recreate the same application under a test machine so I suppose I should make a copy of content database.

How Am I suppose to locate the content and transfer it by sql or something different?

Regards

Federico

Hi Federico,

I found a website that explains the process setep by step:

https://sharepointzee.wordpress.com/2011/10/19/how-to-move-your-sharepoint-2010-database-to-a-test-farm-with-a-different-url/

Its a very straight forward process, and once you have done it once it becomes second nature.

Good luck,

Michael


  • Edited by mclark1612 Tuesday, June 02, 2015 4:04 PM
Free Windows Admin Tool Kit Click here and download it now
June 2nd, 2015 4:01pm

Hi,

I would like to recreate the same application under a test machine so I suppose I should make a copy of content database.

How Am I suppose to locate the content and transfer it by sql or something different?

Regards

Federico

Hi Federico,

I found a website that explains the process setep by step:

https://sharepointzee.wordpress.com/2011/10/19/how-to-move-your-sharepoint-2010-database-to-a-test-farm-with-a-different-url/

Its a very straight forward process, and once you have done it once it becomes second nature.

Good luck,

Michael


June 2nd, 2015 4:01pm

Hi,

I would like to recreate the same application under a test machine so I suppose I should make a copy of content database.

How Am I suppose to locate the content and transfer it by sql or something different?

Regards

Federico

Hi Federico,

I found a website that explains the process setep by step:

https://sharepointzee.wordpress.com/2011/10/19/how-to-move-your-sharepoint-2010-database-to-a-test-farm-with-a-different-url/

Its a very straight forward process, and once you have done it once it becomes second nature.

Good luck,

Michael


Free Windows Admin Tool Kit Click here and download it now
June 2nd, 2015 4:01pm

Hi,

I assume, your test server and production server both are identical one in terms of same AD,build version, CU and patches.

And also assume the SQL DB also installed on the same server where your sharepoint server installed( in Test server)

If yes, you can confidently back up the production server web application in to your test server using the PowerShell or Content database attach method.

Steps 1

Source site from Production

Backup-SPSite http://sitecollectionUrl -Path C:\Backup\sitename_date.bak

Step : 2

Save this file in your target server and run the below powershell command.

Create the site collection on your target server,use the -force parameter to overwrite the site collection with backup data.

Restore-SPSite http://sitecollectionUrl Path C:\Backup\sitename_date.bak -force


June 3rd, 2015 11:43pm

Hi All,

thanks for the suggestions at the end they both works but I am getting a lot of error for content and namespace misplace which will need to be adjust....

Thanks!!

Federico

Free Windows Admin Tool Kit Click here and download it now
June 5th, 2015 12:19pm

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

Other recent topics Other recent topics