Start-VBOSharePointItemRestoreSession
Short Description
Starts restore sessions to explore backed-up SharePoint items and to perform operations with these items.
Product: Veeam Backup for Microsoft 365
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
JobStart-VBOSharePointItemRestoreSession [-Job] <IVBOJob> [-Server <String>] [-Credential <PSCredential>]
[-Port <Int32>] [-ShowDeleted] [-ShowAllVersions] [-Reason <String>] [<CommonParameters>]
-
RestorePointStart-VBOSharePointItemRestoreSession [[-Job] <IVBOJob>] [[-Organization] <IVBOOrganization>]
[-RestorePoint] <IVBORestorePoint> [-Server <String>] [-Credential <PSCredential>] [-Port <Int32>]
[-ShowDeleted] [-ShowAllVersions] [-Reason <String>] [<CommonParameters>]
-
LatestStateStart-VBOSharePointItemRestoreSession [[-Job] <IVBOJob>] [[-Organization] <IVBOOrganization>]
[-Server <String>] [-Credential <PSCredential>] [-Port <Int32>] [-ShowDeleted] [-ShowAllVersions]
[-LatestState] [-Reason <String>] [<CommonParameters>]
-
OrganizationStart-VBOSharePointItemRestoreSession [-Organization] <IVBOOrganization> [-Server <String>]
[-Credential <PSCredential>] [-Port <Int32>] [-ShowDeleted] [-ShowAllVersions] [-Reason <String>] [<CommonParameters>]
Detailed Description
This cmdlet starts a new restore session, establishes a connection to the Veeam Backup for Microsoft 365 server and retrieves SharePoint items backed up on this server. Within the restore session, you can get backed-up items using the following cmdlets:
Get-VESPOrganizationReturns SharePoint organizations added to Veeam Backup for Microsoft 365.Get-VESPSiteReturns SharePoint sites.Get-VESPListReturns SharePoint lists.Get-VESPDocumentReturns SharePoint documents.Get-VESPDocumentVersionReturns other versions of a SharePoint document.Get-VESPDocumentLibraryReturns SharePoint document libraries.Get-VESPItemReturns SharePoint items.Get-VESPItemAttachmentReturns attachments of the specified SharePoint item.Get-VESPItemVersionReturns other versions of a SharePoint item.
After you get backed-up items, you can perform the following operations with these items:
Export-VESPItemExports SharePoint items.Restore-VESPItemRestores SharePoint items.Send-VESPItemSends SharePoint items as attachments to emails.Save-VESPItemSaves SharePoint items.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Credential |
Specifies credentials that will be used for authenticating to the Veeam Backup for Microsoft 365 server.
Accepts the |
|
False |
Named |
False |
|
Job |
Specifies a backup job to start a new restore session. You will be able to use the session to perform operations with items backed up by this job.
Accepts the |
|
True |
0 |
True (ByValue) |
|
LatestState |
Defines that the cmdlet will retrieve items from the latest restore point. If you provide this parameter, you will be able to perform operations with items in the most recent restore state. Default: False |
|
True |
Named |
False |
|
Organization |
Specifies an organization to start a new restore session. You will be able to use the session to perform operations with items backed up for this organization.
Accepts the |
|
False |
0 |
True (ByValue) |
|
Port |
Specifies a port number that will be used to connect to the Veeam Backup for Microsoft 365 server. Default: 9194 |
|
False |
Named |
False |
|
Reason |
Specifies a reason to perform restore operation. |
|
False |
Named |
False |
|
RestorePoint |
Specifies a restore point to start a new restore session. You will be able to use the session to perform operations with items that this restore point contains.
Accepts the |
|
True |
0 |
True (ByValue) |
|
Server |
Specifies DNS name or IP address of the Veeam Backup for Microsoft 365 server that backed up items you want to restore. |
|
False |
Named |
False |
|
ShowAllVersions |
Defines that all versions of SharePoint items will be included in the current session. If you provide this parameter, you will be able to perform operations with these items. Otherwise, only the latest version of SharePoint items will be available. Default: False Note: With this parameter provided, the amount of data returned by cmdlets within the current session may significantly increase. |
|
False |
Named |
False |
|
ShowDeleted |
Defines that deleted items will be included in the current session. If you provide this parameter, you will be able to perform operations with these items. Default: False Note: With this parameter provided, the amount of data returned by cmdlets within the current session may significantly increase. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Docs.
Output Object
The cmdlet returns the VBOSharePointRestoreSession object that contains settings of the restore session started to perform operations with backed-up SharePoint items.
Examples
Example 1. Starting Restore Session for Backup Job
|
This example shows how to start a new restore session to retrieve items backed up by a job running on the srv.tech.local server from the latest restore point. To connect to the Veeam Backup for Microsoft 365 server, the default port number (9194) will be used.
Perform the following steps:
|
Example 2. Starting Restore Session from Specific Restore Point
|
This example shows how to start a restore session to retrieve items from a specific restore point created on the srv.tech.local server. To connect to the Veeam Backup for Microsoft 365 server, the default port number (9194) will be used.
Perform the following steps:
|
Example 3. Starting Restore Session for Backed-Up Microsoft Organization
|
This example shows how to start a restore session to retrieve the
Perform the following steps:
|
Related Commands