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

Does export-spweb delete the the subsites of the "backuped site" ?

$
0
0

Hi

I have a site with 2 sub sites.

I ran the:

$ExportPath = "d:\Backup\backup.cmp"
$ImportPath = "d:\Backup\backup.cmp"

write-host -ForegroundColor green "Exporting Site Collection $fellesomradepURL to $ExportPath"
Export-SPWeb -Identity $fellesomradepURL -Path $ExportPath


write-host -ForegroundColor green "Importing Site Collection $fellesomradepURL to $ExportPath"
Import-SPWeb $newURL –Path $ImportPath –UpdateVersions Overwrite

I can access my old site "$fellesomradepURL", but the 2 sub-sites are now one from it....

Any clues?

best regards

Bjorn


Viewing all articles
Browse latest Browse all 21070

Trending Articles