Start-VBREntraIDLogsBackupFLRSession
Short Description
Starts a restore session to explore log files and folders that a log backup contains.
Product Edition: Enterprise Plus, Veeam Universal License
Syntax
|
Start-VBREntraIDLogsBackupFLRSession -Tenant <VBREntraIDTenant> -Backup <VBRUnstructuredBackup> [-RetrievalSettings <VBRUnstructuredBackupColdStorageRetrievalSettings>] [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet starts a log restore session. During this session, the cmdlet gets access to the log files and folders in the Entra ID log backup.
After you gain the access, you can use this session to restore specific files and folders stored in the log backup. For this, launch the following cmdlets:
Get-VBREntraIDLogsBackupFLRItemReturns backed-up objects created by a log backup job. to get the backed-up files and folders.Save-VBREntraIDLogsBackupFLRItemRestores files and folders backed up by a log backup job that protects Microsoft Entra ID audit and sign-in logs. to save the backed-up files and folders.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Backup |
Specifies the backup from which you want to get access to logs. You can further restore files from this backup.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
Force |
Defines that the cmdlet will modify settings of managed file shares without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
RetrievalSettings |
Specifies the retrieval policy settings. The cmdlet will use these settings to retrieve data from archive repositories.
Accepts the |
|
False |
Named |
False |
|
Tenant |
Specifies the tenant whose logs you want to access.
Accepts the |
True |
Named |
True (ByPropertyName) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRUnstructuredBackupFLRSession object that contains properties of the log restore session.
Examples
Starting Log Restore Session
This example shows how to start a log restore session.
|
$tenant = Get-VBREntraIdTenant -AzureTenantId "xxxxx" $logBackups = Get-VBREntraIDLogsBackup $logRestoreSession = Start-VBREntraIDLogsBackupFLRSession -Backup $logBackups[0] -Tenant $tenant |
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-VBREntraIDLogsBackupFLRSessioncmdlet. 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
Related Commands
Get-VBREntraIdTenantReturns Microsoft Entra ID tenants added to the backup infrastructure.Get-VBREntraIDLogsBackupReturns backups of Microsoft Entra ID logs.New-VBRUnstructuredBackupColdStorageRetrievalSettings