Forum Discussion
mwilliams71
Feb 01, 2023Copper Contributor
Copy a Site Collection into another Web Application
I have an existing Site Collection with Styling and Libraries. Is it a way to copy the Site Collection to an existing Web Application? Would I have to create a blank Site Collection prior?
3 Replies
Sort By
Hello mwilliams71
look at this great article: https://www.sharepointdiary.com/2014/10/copy-spsite-clone-sharepoint-site-collection-powershell.html
Best, Dave
- mwilliams71Copper ContributorWhen I run below command, it gives the error: Copy-SPSite : The content database could not be found.
Copy-SPSite {Source-Site-Collection-URL} [-DestinationDatabase {Destination-Database-Name}] -TargetUrl {Target-Site-Collection-URL} - mwilliams71Copper ContributorI looked at this article already and it seem confusing. It doesn't answer if I need to create a database in SQL Server or one will be created for me automatically. I'll try deciphering the article some more.