Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
Veeam Explorers PowerShell Reference

Export-VESPItem

Short Description

Exports SharePoint Item.

Applies to: Veeam Backup & Replication

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

This cmdlet provides the following parameter sets.

  • To export to the SharePoint list:

Export-VESPItem -List <VESPList> -Path <string> [-Force]  [<CommonParameters>]

  • To export to the SharePoint document library:

Export-VESPItem [-DocumentLibrary] <VESPDocumentLibrary> -Path <string> [-Force]  [<CommonParameters>]

Detailed Description

This cmdlet exports SharePoint lists and document libraries.

Export-VESPItem Note:

Mind the following:

  • This cmdlet is available for backups created with Veeam Backup & Replication.
  • Before performing export operations you must first start a restore session. For more information, see Start-VBRSharePointItemRestoreSession.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

DocumentLibrary

Specifies a SharePoint document library. This cmdlet will export the specified SharePoint document library.

True

Named

True (ByValue)

False

Force

Indicates that the cmdlet will create a folder in the specified directory and overwrites the existing item with the same name.

False

Named

False

False

List

Specifies a SharePoint list. This cmdlet will export the specified SharePoint list.

True

Named

True (ByValue)

False

Path

Specifies a path to the export destination directory.

True

Named

True (ByValue)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Example 1

[For Veeam Backup & Replication] This example shows how to export the Calendar SharePoint list to the C:\ExportedLists folder.

  1. Run Get-VBRApplicationRestorePoint to get a restore point. Save the result to the $restorepoint variable.
  2. Run Start-VBRSharePointItemRestoreSession with the $restorepoint variable to start a restore session. Save the result to the $session variable.
  3. Run Get-VESPDatabase with the $session variable and the Name parameter to get the WSS_Content.mdf SharePoint database. Save the result to the $database variable.
  4. Run Get-VESPSite with the $database variable and the Name parameter to get the Home SharePoint site. Save the result to the $site variable.
  5. Run Get-VESPList with the $site variable and the Name parameter to get the Calendar SharePoint list. Save the result to the $list variable.
  6. Run Export-VESPItem with the $list variable and the Path parameter to export the Calendar SharePoint list to the C:\ExportedLists folder. Use the Force parameter to overwrite any existing lists with the same name in the target directory.

PS C:\PS> $restorepoint = Get-VBRApplicationRestorePoint -SharePoint -Name "Sharepoint server"

PS C:\PS> $session = Start-VBRSharePointItemRestoreSession -RestorePoint $restorePoint

PS C:\PS> $database = Get-VESPDatabase -Session $session -Name "WSS_Content.mdf"

PS C:\PS> $site = Get-VESPSite -Database $database -Name "Home"

PS C:\PS> $list = Get-VESPList -Site $site -Name "Calendar"

PS C:\PS> Export-VESPItem -List $list -Path C:\ExportedLists -Force

Related Commands

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions

Veeam Availability for Nutanix AHV

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation