I have to clone a web application on a same server farm. What I've done so far: Backup the SQL DB of my webapp. Restored it under a different name. Create a new webapp and attach my restored DB.
What I face:
If I attach my new db, it shows # of site collections : 0.
If I remove the original db from its web app, then the copy will display the correct amount of site collections.
- And vice versa.
It seems that I can't make coexist a copy from a web app on one SharePoint Farm. Note I've mounted the copy with the following command line :
Mount-SPContentDatabase WSS_Content_NewDB -WebApplication http://newWebAppUrl -AssignNewDatabaseId
Any advice ?
Many thanks in advance,