Stop-VBREntraIDLogsBackupFLRSession
Short Description
Stops a restore session started to recover data from Microsoft Entra ID log backups.
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 |
|---|---|---|---|---|---|
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
|
Session |
Specifies the restore session that you want to stop.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Stopping Entra ID Log Restore Session
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:
- Run the
Get-VBREntraIdTenantReturns Microsoft Entra ID tenants added to the backup infrastructure. cmdlet. Specify theAzureTenantIdparameter value. Save the result to the$tenantvariable. - Run the
Get-VBREntraIDLogsBackupReturns backups of Microsoft Entra ID logs. cmdlet.The
Get-VBREntraIDLogsBackupcmdlet will return an array of backups. Mind the ordinal number of the necessary backup, for arrays it starts with 0. In our example, it is the first backup in the array. - Run the
Start-VBREntraIDLogsBackupFLRSessionStarts a restore session to explore log files and folders that a log backup contains. cmdlet. Specify the following settings:- Set the
$logBackups[0]variable as theBackupparameter value. - Set the
$tenantvariable as theTenantparameter value. - Save the result to the
$logRestoreSessionvariable.
- Set the
- Run the
Stop-VBREntraIDLogsBackupFLRSessioncmdlet. Set the$logRestoreSessionvariable as theSessionparameter value.
Related Commands
Get-VBREntraIdTenantReturns Microsoft Entra ID tenants added to the backup infrastructure.Get-VBREntraIDLogsBackupReturns backups of Microsoft Entra ID logs.Start-VBREntraIDLogsBackupFLRSessionStarts a restore session to explore log files and folders that a log backup contains.