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

Import -SPWeb into different library same site

$
0
0

I do an export spweb like

Export-SPWeb -Identity http://server/sites/mysite/ -IncludeVersions All -IncludeUserSecurity -path "D:\LibraryExport\live.cmp" -ItemUrl "Live"

Usually I do a "restore" via Import SPWeb like:

Import-SPWeb -Identity http://server/sites/mysite/test -IncludeUserSecurity -Force -path "D:\LibraryExport\live.cmp" - into a subsite called "test"

I wonder if there isn't a switch which allows me to import this export into a different library of the same site from where the export was taken without overwriteing the initial exported files. Something like:

Import-SPWeb -Identity http://server/sites/mysite/ -IncludeUserSecurity -Force -path "D:\LibraryExport\live.cmp"-ItemUrl "Archive" - which would mean it is re-imported into the already existing document library "Archive" of site "mysite". I know that -ItemURL does not work for import.

Thanks, Dieter



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>