# export import list library sites in sharepoint

- Link: https://sharepointtechnicalsupport.com/2020/06/01/export-import-list-library-sites-in-sharepoint/
- Published: 2020-06-01T10:24:30+05:30
- Author: Deviprasad Panda

export import list library sites in sharpoint 2019 is a common task for sharepoint
administrator carried out during migration. You will get requests from user to move
or copy, sharepoint list, libraries, sites from one site to another site. Site may
be present in different web application under different sharepoint environment(PROD,
DEV, SIT). Site between different sharepoint versions ([SharePoint 2010](https://sharepointtechnicalsupport.com/category/sharepoint-2010/)
to [SharePoint 2013](https://sharepointtechnicalsupport.com/category/sharepoint-2013/)
or SharePoint 2013 to [SharePoint 2016](https://sharepointtechnicalsupport.com/category/sharepoint-2016/)
or [SharePoint 2019](https://sharepointtechnicalsupport.com/category/sharepoint-2019/)).

 Advertisements

You can migrate contents from one site to another site using backup restore site
collection method, if size of content is large. We already discussed how to create
backup restore request and follow content database detach attach method in previous
post as below.

 Advertisements

“[Dismount Mount content database in sharepoint 2019 using powershell](https://sharepointtechnicalsupport.com/dismount-mount-content-database-in-sharepoint-2019-using-powershell/)“.
You can follow this to complete the task.

You can export list library sites to migrate contents only, size of content to be
migrate is not so high. Once export is complete, you need to import list library
in destination sharepoint site.

You can export import sharepoint list library using powershell or by using granular
backup export a site or list method.

 Advertisements

follow the command below [Export-SPWeb](https://docs.microsoft.com/en-us/powershell/module/sharepoint-server/export-spweb?view=sharepoint-ps)
to export sharepoint site collection

    ```wp-block-code
    Export-SPWeb -Identity "<site collection url>" -Path "saving path"
    Export-SPWeb -Identity "http://win-56r9d2tbfob:39760/sites/SharePointTechnicalSupport" -Path "C:\Backup\Site Collection\sitecollectionPS.cmp"
    ```

 Advertisements

following command will export subsite in sharepoint

    ```wp-block-code
    Export-SPWeb -Identity "subsite url" -Path "saving path" -verbose
    Export-SPWeb -Identity "http://win-56r9d2tbfob:39760/sites/SharePointTechnicalSupport/SubsiteTeams" -Path "C:\Backup\SubsiteSite\SubsitePS.cmp" -verbose
    ```

 Advertisements

export list in sharepoint following below command

    ```wp-block-code
    Export-SPWeb -Identity "subsite url" -Path "saving location" -ItemUrl "list path" -IncludeUserSecurity -IncludeVersions All -verbose
    Export-SPWeb -Identity "http://win-56r9d2tbfob:39760/sites/SharePointTechnicalSupport/SubsiteTeams" -Path "C:\Backup\List\List.cmp" -ItemUrl "Lists/ContactList" -IncludeUserSecurity -IncludeVersions All -verbose
    ```

 Advertisements

following command will export library in sharepoint

    ```wp-block-code
    Export-SPWeb -Identity "subsite url" -Path "saving location" -ItemUrl "library name" -IncludeUserSecurity -IncludeVersions All -verbose
    Export-SPWeb -Identity "http://win-56r9d2tbfob:39760/sites/SharePointTechnicalSupport/SubsiteTeams" -Path "C:\Backup\Library\Documents.cmp" -ItemUrl "Shared Documents" -IncludeUserSecurity -IncludeVersions All -verbose
    ```

 Advertisements

Import list in sharepoint following below command

    ```wp-block-code
    Import-SpWeb -Identity "site url in which you want to import list" -Path "exported item saved location" -IncludeUserSecurity -UpdateVersions Overwrite -verbose
    Import-SpWeb -Identity "http://win-56r9d2tbfob:19919/sites/SPSupport" -Path "C:\Backup\List\List.cmp" -IncludeUserSecurity -UpdateVersions Overwrite -verbose
    ```

 Advertisements

following command will import library in sharepoint

    ```wp-block-code
    Import-SpWeb -Identity "site url in which you want to import library" -Path "exported item saved location" -IncludeUserSecurity -UpdateVersions Overwrite -verbose
    Import-SpWeb -Identity "http://win-56r9d2tbfob:19919/sites/SPSupport" -Path "C:\Backup\Library\Documents.cmp" -IncludeUserSecurity -UpdateVersions Overwrite -verbose
    ```

 Advertisements

similarly use follow the command below to Import site in sharepoint

    ```wp-block-code
    Import-SpWeb -Identity "http://win-56r9d2tbfob:19919/sites/SPSupport" -Path "C:\Backup\SubsiteSite\SubsitePS.cmp" -IncludeUserSecurity -UpdateVersions Overwrite -verbose
    ```

 Advertisements

watch below video to get more in detail.

 Advertisements

### Share this:

 * [  X ](https://sharepointtechnicalsupport.com/2020/06/01/export-import-list-library-sites-in-sharepoint/?share=twitter)
 * [  Facebook ](https://sharepointtechnicalsupport.com/2020/06/01/export-import-list-library-sites-in-sharepoint/?share=facebook)
 * [  WhatsApp ](https://sharepointtechnicalsupport.com/2020/06/01/export-import-list-library-sites-in-sharepoint/?share=jetpack-whatsapp)
 * [  Email ](https://sharepointtechnicalsupport.com/2020/06/01/export-import-list-library-sites-in-sharepoint/?subject=%5BShared%20Post%5D%20export%20import%20list%20library%20sites%20in%20sharepoint&body=https%3A%2F%2Fsharepointtechnicalsupport.com%2F2020%2F06%2F01%2Fexport-import-list-library-sites-in-sharepoint%2F&share=email)
 * [  Telegram ](https://sharepointtechnicalsupport.com/2020/06/01/export-import-list-library-sites-in-sharepoint/?share=telegram)
 * [  LinkedIn ](https://sharepointtechnicalsupport.com/2020/06/01/export-import-list-library-sites-in-sharepoint/?share=linkedin)
 * [  Tumblr ](https://sharepointtechnicalsupport.com/2020/06/01/export-import-list-library-sites-in-sharepoint/?share=tumblr)
 * [  Pinterest ](https://sharepointtechnicalsupport.com/2020/06/01/export-import-list-library-sites-in-sharepoint/?share=pinterest)

### Like this:

Like Loading…

### _Related_
