Duplicate a SharePoint 2013 site collection

At times there are requests by user on PROD environment, for having a duplicate site with same content , permissions, groups etc.

download

There are many approaches to go for this request, like Backup Restore, or using Metalogix.

However there is a new command in SP 2013 that helps creating a new site collection with exactly same content, permissions and everything.

Copy-SPSite “OldSiteCollectionUrl” -TargetURL “NewSiteCollectionUrl”

This is a very quick and easy method to get a duplicate site within few minutes, without having to do much.

However sharing the constraints below for using this command:
– Source and Destination site collections should be in same Web application
In case web application is different, additional parameter DestinationDatabase can be applied to this command.
– Applicable to SP2013 On Prem only

Advertisements