I have a content database that's too large, and I need to pull a subsite out of it and place it in a new site collection/db within the same application. The URL, however, needs to stay the same.
Plan:
- Export-SPWeb http://intranet/depts/Research"Path "D:\...\ResearchExport" –NoFileCompression –IncludeUserSecurity -IncludeVersions All
- Change URL of existing site to http://intranet/depts/ResearchOLD
- Add Managed path to application, "depts/Research", Explicit
- New-SPContentDatabase "intranet_Research" -DatabaseServer "SQLSERVER5" -WebApplicationhttp://intranet
- New-SPSite -url "http://intranet/depts/Research" -ownerAlias "domain\user" -contentdatabase "intranet_Research" -template "STS#1" -Name "Research"
- Import-SPWeb "http://intranet/depts/Research" -Path "D:\...\ResearchExport" -NoFileCompression –IncludeUserSecurity
Does this look right?
Thanks,
Scott













