Start-VBOTeamsItemRestoreSession
Short Description
Starts restore sessions to explore backed-up Microsoft Teams objects and to perform operations with these items.
Applies to
Veeam Backup for Microsoft 365
Product Edition: Community, Rental License, Subscription License
Syntax
This cmdlet provides parameter sets that allow you to:
- Explore or restore Microsoft Teams objects from the latest restore point.
Start-VBOTeamsItemRestoreSession -LatestState [-Job <IVBOJob>] [-Organization <IVBOOrganization>] [-ShowDeleted] [-ShowAllVersions] [<CommonParameters>] |
- Explore or restore Microsoft Teams objects from the specified restore point.
Start-VBOTeamsItemRestoreSession -RestorePoint <IVBORestorePoint> [-Job <IVBOJob>] [-Organization <IVBOOrganization>] [-ShowDeleted] [-ShowAllVersions] [<CommonParameters>] |
- Explore or restore Microsoft Teams objects remotely.
Start-VBOTeamsItemRestoreSession -Server <String> -Credential <PSCredential> [-Port <Int32>] [-ShowDeleted] [-ShowAllVersions] [<CommonParameters>] |
Detailed Description
This cmdlet establishes a connection to the Veeam Backup for Microsoft 365 server and retrieves Microsoft Teams objects backed up on this server. Within the restore session, you can get backed-up Microsoft Teams objects using the following cmdlets:
After you get backed-up Microsoft Teams objects, you can perform the following operations with these objects:
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
LatestState | Defines that the cmdlet will retrieve items from the latest restore point in the backup. Default: False | SwitchParameter | True | 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 IVBOJob object. To get this object, run the Get-VBOJob cmdlet. | False | Named | True (ByValue) |
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 IVBOOrganization object. To get this object, run the Get-VBOOrganization cmdlet. | False | Named | True (ByValue) |
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: If you provide this parameter, the amount of data returned by cmdlets within the current session may significantly increase. | SwitchParameter | False | Named | False |
ShowAllVersions | Defines that all versions of Microsoft Teams 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: If you provide this parameter, the amount of data returned by cmdlets within the current session may significantly increase. | SwitchParameter | 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 IVBORestorePoint object. To get this object, run the Get-VBORestorePoint cmdlet. | True | Named | True (ByValue) |
Server | Specifies a DNS name or IP address of the Veeam Backup for Microsoft 365 server that backed up items that you want to restore. | String | True | Named | False |
Credential | Specifies credentials that will be used for authenticating to the Veeam Backup for Microsoft 365 server. | Accepts the PSCredential object. To get this object, run the Get-Credential cmdlet. | True | Named | False |
Port | Specifies a port number that will be used to connect to the Veeam Backup for Microsoft 365 server. | Int32 | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
The cmdlet returns the VBOTeamsItemRestoreSession object that contains the restore session started to perform operations with backed-up Microsoft Teams objects.
Examples
Example 1. Starting Restore Session from Latest Restore Point
This example shows how to start a restore session to perform operations with Microsoft Teams objects. The restore session will start with the following settings:
Perform the following steps:
|
Example 2. Starting Restore Session from Specific Restore Point
This example shows how to start a restore session to perform operations with Microsoft Teams objects. The restore session will start with the following settings:
Perform the following steps:
The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session. In our example, it is the third restore session in the array.
|
Example 3. Performing Restore Scenario
This example shows how to perform a restore scenario. The restore scenario includes the following steps:
Perform the following steps:
|
Related Commands