To import document library/list you have exported from the SharePoint content database, run the appropriate PowerShell cmdlet locally on the SharePoint server, as described below:
If using PowerShell snap-in, run the following:
Add-PsSnapin Microsoft.SharePoint.PowerShell
Import-SPWeb -Identity "http://<web_server_name>/sites/<destination_site>" -Path "C:\<export_folder>" -NoFileCompression –IncludeUserSecurity
If using SharePoint Management Shell, run the following:
Import-SPWeb -Identity "http://<web_server_name>/sites/<destination_site>" -Path "C:\<export_folder>" -NoFileCompression –IncludeUserSecurity
where:
<web_server_name> — destination web server;
<destination_site> — destination web site;
<export_folder> — source folder containing exported library/list content.
To get extended Help on the Import-SPWeb command, run the following PowerShell cmdlet:
Get-Help Import-SPWeb -full
Related Topic
Exporting Document Libraries and Lists