I am working on a SharePoint 2013 web application. and i am totally confused if SharePoint do or do not allow to backup and restore a copy of a site collection on the same web application.
now before around 1 year i read the following question link and the answers were mainly saying that we can not restore a copy of a site collection on the same web application, because we will get GUID conflicts ,etc.. "no its not possible to create a backup and restore within the same site collection, The ID's for site collection, sites, subsites and list/libs will be in conflict with each other."
but today i tried the following where i backup a site collection as follow:-
Backup-SPSite http://servername/1 -Path C:\test.bakthen i create a new site collection on the following URL
http://servername/2
then i restore the backup file on the new site collection as follow:-
Restore-SPSite -Identity http://servername/2 -Path C:\test.bak -DatabaseServer servername\SharePoint -DatabaseName WSS_Content -forceand everything worked well,,, and i got two site collections at the following urls
http://servername/1
&http://servername/2
.. so not sure why i did not get any GUID conflict or IDs conflicts or any other exception as mentioned on the replies inside the question i provide a link for
?Thanks