Start-VBOExchangeItemRestoreSession
Short Description
Starts restore sessions to explore backed-up Microsoft Exchange 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:
-
LatestState (Default)Start-VBOExchangeItemRestoreSession [-LatestState] [-Job <IVBOJob>] [-Organization <IVBOOrganization>]
[-ShowDeleted] [-ShowAllVersions] [-Reason <String>] [<CommonParameters>]
-
RestorePointStart-VBOExchangeItemRestoreSession -RestorePoint <IVBORestorePoint> [-Job <IVBOJob>]
[-Organization <IVBOOrganization>] [-ShowDeleted] [-ShowAllVersions] [-Reason <String>] [<CommonParameters>]
-
RemoteStart-VBOExchangeItemRestoreSession -Server <String> -Credential <PSCredential> [-Port <Int32>]
[-SkipCertificateCheck] [-ShowDeleted] [-ShowAllVersions] [-Reason <String>] [<CommonParameters>]
Detailed Description
This cmdlet establishes a connection to the Veeam Backup for Microsoft 365 server and retrieves Exchange items backed up on this server. Within the restore session, you can get backed-up Exchange objects using the following cmdlets:
Get-VEXDatabaseReturns Microsoft Exchange mailbox databases.Get-VEXMailboxReturns Microsoft Exchange mailboxes.Get-VEXFolderReturns folders added to Microsoft Exchange mailboxes.Get-VEXItemReturns items added to Microsoft Exchange mailboxes.
After you get backed-up Exchange objects, you can perform the following operations with these objects:
Export-VEXItemExports Exchange organization backups.Restore-VEXItemRestores backups of Exchange mailboxes.Send-VEXItemSends Exchange mailbox items as attachments to emails.
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 |
|
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 |
|
False |
Named |
True (ByValue) |
|
LatestState |
Defines that the cmdlet will retrieve data from a mailbox database at the state of the latest restore point. 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 |
Named |
True (ByValue) |
|
Port |
Specifies a port number that will be used to connect to the Veeam Backup for Microsoft 365 server. |
|
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 |
Named |
True (ByValue) |
|
Server |
Specifies DNS name or IP address of the Veeam Backup for Microsoft 365 server that backed up items that you want to restore. |
|
True |
Named |
False |
|
ShowAllVersions |
Defines that all versions of backed-up items will be included in the current session. If you provide this parameter, you will be able to perform operations with these items. Note: If you provide this parameter, the amount of data returned by cmdlets within the current session may significantly increase. Default: False |
|
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. Note: If you provide this parameter, the amount of data returned by cmdlets within the current session may significantly increase. Default: False |
|
False |
Named |
False |
|
SkipCertificateCheck |
Defines that the cmdlet will not perform a TLS certificate check. Default: False |
|
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 Learn.
Output Object
The cmdlet returns the VBOExchangeRestoreSession object that contains settings of the restore session started to perform operations with backed-up Microsoft Exchange items.
Examples
Example 1. Starting Restore Session from Latest Restore Point
|
This example shows how to start a restore session to perform operations with Microsoft Exchange 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 Exchange objects. The restore session will start with the following settings:
Perform the following steps:
|
Example 3. Starting Restore Session from Latest Restore Point Remotely
|
This example shows how to start a remote restore session to perform operations with Microsoft Exchange objects. The cmdlet will connect to the
Perform the following steps:
|
Example 4. 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
Get-VBOOrganizationGet-VBORestorePointGet-VBOJobGet-CredentialGet-VBOExchangeItemRestoreSessionReturns active restore sessions started to perform operations with backed-up Microsoft Exchange items.Get-VEXDatabaseReturns Microsoft Exchange mailbox databases.Get-VEXMailboxReturns Microsoft Exchange mailboxes.Restore-VEXitemRestores backups of Exchange mailboxes.Stop-VBOExchangeItemRestoreSessionStops active restore sessions initiated to perform operations with backed-up Microsoft Exchange items.