Stop-VBREntraIDLogsBackupFLRSession

Short Description

Stops a restore session started to recover data from Microsoft Entra ID log backups.

Applies to

Product Edition: Enterprise Plus, Veeam Universal License

Syntax

Stop-VBREntraIDLogsBackupFLRSession -Session <VBRUnstructuredBackupFLRSession> [-RunAsync] [<CommonParameters>]

Detailed Description

This cmdlet stops a restore sessions started to recover a Entra ID log backup.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Session

Specifies the restore session that you want to stop.

Accepts the VBRUnstructuredBackupFLRSession object. To create this object, run the Start-VBREntraIDLogsBackupFLRSession cmdlet. To get this object, run the Get-VBRUnstructuredBackupFLRSession cmdlet.

True

Named

True (ByPropertyName, ByValue)

RunAsync

Defines that the command returns immediately without waiting for the task to complete.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

None.

Examples

This example shows how to stop a log restore session.

$tenant = Get-VBREntraIdTenant -AzureTenantId "xxxxx"

$logBackups = Get-VBREntraIDLogsBackup

$logRestoreSession = Start-VBREntraIDLogsBackupFLRSession -Backup $logBackups[0] -Tenant $tenant

...

Stop-VBREntraIDLogsBackupFLRSession -Session $logRestoreSession

Perform the following steps:

  1. Run the Get-VBREntraIdTenant cmdlet. Specify the AzureTenantId parameter value. Save the result to the $tenant variable.
  2. Run the Get-VBREntraIDLogsBackup cmdlet.

The Get-VBREntraIDLogsBackup cmdlet will return an array of backups. Mind the ordinal number of the necessary restore point, for arrays it starts with 0. In our example, it is the first backup in the array.

  1. Run the Start-VBREntraIDLogsBackupFLRSession cmdlet. Specify the following settings:
  • Set the $logBackups[0] variable as the Backup parameter value.
  • Set the $tenant variable as the Tenant parameter value.
  • Save the result to the $logRestoreSession variable.
  1. Run the Stop-VBREntraIDLogsBackupFLRSession cmdlet. Set the $logRestoreSession variable as the Session parameter value.

Related Commands

Page updated 11/20/2024

Page content applies to build 12.3.0.310