Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

Export SPWeb to new site collection, retain original URL

$
0
0

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:

  1. Export-SPWeb http://intranet/depts/Research"Path "D:\...\ResearchExport" –NoFileCompression –IncludeUserSecurity  -IncludeVersions All
  2. Change URL of existing site to http://intranet/depts/ResearchOLD
  3. Add Managed path to application, "depts/Research", Explicit
  4. New-SPContentDatabase "intranet_Research" -DatabaseServer "SQLSERVER5" -WebApplicationhttp://intranet
  5. New-SPSite -url "http://intranet/depts/Research" -ownerAlias "domain\user" -contentdatabase "intranet_Research" -template "STS#1" -Name "Research"
  6. Import-SPWeb "http://intranet/depts/Research" -Path "D:\...\ResearchExport" -NoFileCompression –IncludeUserSecurity

Does this look right?

Thanks,

Scott


Viewing all articles
Browse latest Browse all 13778

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>