question

adilahmed avatar image
0 Votes"
adilahmed asked WendyLi-MSFT commented

Create a new web application with existing content database copy in same sharepoint farm

  1. have one web application 'WebAppA.company1.com' in production SP Farm with a content database Wss_Content_DB1 and i taken a backup and restored in staging as Wss_Content_DB2 and mounted to web application in staging.

  2. In staging, i modified the design, created new page layouts,master pages and created some sub sites

  3. In Staging, i taken backup of Content database 'Wss_Content_DB2' and restored in same Production SharePoint Farm SQL Instance as new content database Wss_Content_DB3_FromStaging'

and now i want to create a new Web Application with different hostname 'WebApp2.Company1.com' in Same SP Production farm with 'Wss_Content_DB3_FromStaging' Content database
Can i do this step 4 successfully because WebApp2.company1.com content database is copy of the Webapp1.company1.com database?

office-sharepoint-server-administrationoffice-sharepoint-server-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Would you please provide us with an update on the status of your issue?

0 Votes 0 ·

1 Answer

trevorseward avatar image
1 Vote"
trevorseward answered LisaChen-MSFT commented

The sites contained within content databases have a farm-wide unique ID which cannot be changed on the live site. What you would need to do in staging is performing a Backup-SPSite. Take that backup, then restore it to your desired database in production. This will change the GUID of the restored site.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I agree with trevor.

If Trevor's reply helps you, please remember to mark it as an answer.

Thanks for your understanding.

0 Votes 0 ·