SharePoint 2013: To export a site, list, or document library

To export a site, list, or document library in SharePoint 2013. You can use PowerShell or Central Administration to export a site, list, or document library. You can only export one site, list, or document library at a time.

Using PowerShell

At PowerShell command prompt, type the following command:

Export-SPWeb -Identity <SiteURL> -Path <Path and File Name> [-ItemUrl <URL of Site, List, or Library>] [-IncludeUserSecurity] [-IncludeVersions] [-NoFileCompression] [-GradualDelete] [-Verbose]

Where:

  • <SiteURL> is URL for the site, list, or library that you are exporting.
  • <Path and FileName> is path and name for the site, list, or library that you are exporting.
  • <URL of Site, List, or Library> is the URL for the site, list, or library where you are exporting.

Central Administration

To export a site, list, or document library by using Central Administration:

  • Verify that the user account that is performing this procedure as a member of the Farm Administrators group.
  • Start SharePoint 2013 Central Administration.
  • For Windows Server 2008 R2:
  • Click Start, click Microsoft SharePoint 2013 Products, and then click SharePoint 2013 Central Administration.
  • For Windows Server 2012:
  • On the Start screen, click SharePoint 2013 Central Administration.
  • If SharePoint 2013 Central Administration is not on the Start screen:
  • Right-click Computer, click All apps, and then click SharePoint 2013 Central Administration.
  • In Central Administration, on the home page, click Backup and Restore.
  • On the Backup and Restore page, in the Granular Backup section, click Export a site or list.
  • On the Site or List Export page, in the Site Collection section, select the site collection from the Site Collection list, and then select the site from the Site list.
  • If you are exporting a site, skip this step, Select the list or document library from the List list.
  • In the File Location section, in the Filename box, type the UNC path of the shared folder and the file to which you want to export the list or document library. The file name must use the .cmp extension.
  • If the file already exists and you want to use this file, select the Overwrite existing files check box. Otherwise, specify a different file name.
  • If you want to export all the security and permissions settings with the list or library, in the Export Full Security section, select the Export full security check box.
  • If you want to specify which version of the list or library to export, select one of the following versions from the Export versions list:
  • All Versions
  • Last Major
  • Current Version
  • Last Major and Last Minor
  • When you have specified the settings that you want, click Start Export.
  • You can view the status of all backup jobs at the top of the Granular Backup Job Status page. You can view the status of the current backup job in the Content Export section of the page. The status page updates every 30 seconds automatically. You can manually update the status details by clicking Refresh. Backup and recovery are Timer service jobs. Therefore, it may take several seconds for the backup to start.

See more at:

http://expertsharepoint.blogspot.de/2014/01/to-export-site-list-or-document-library.html

Note: If you find a different solution, please report it as a comment to this post. This will be useful to the SharePoint Community. Be sure to double-verify it: undo your solution and verify that the problem comes back, then redo it and verify that the problem goes away.

See Also

  1. SharePoint Resources on the TechNet Wiki
  2. SharePoint 2013 Portal
  3. SharePoint 2013 - Service Applications
  4. SharePoint 2013 - Resources for Developers
  5. SharePoint 2013 - Resources for IT Pros