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

adil 1,206 Reputation points
2020-07-29T17:26:47.217+00:00

1.I 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.

  1. In staging, i modified the design, created new page layouts,master pages and created some sub sites
  2. 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?

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,232 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,813 questions
{count} votes

Accepted answer
  1. Trevor Seward 11,681 Reputation points
    2020-07-29T18:41:44.117+00:00

    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 person found this answer helpful.

0 additional answers

Sort by: Most helpful