Start-VBREntraIDTenantCopyRestore
Short Description
Starts a restore session from a backup copy of a Microsoft Entra ID tenant.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Start-VBREntraIDTenantCopyRestore -RestorePoint <VBRNASBackupRestorePoint> [-Reason <String>] [-RetrievalSettings <VBRUnstructuredBackupColdStorageRetrievalSettings>] [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet starts a restore session for an Entra ID tenant using a backup copy.
If the application used for adding the tenant does not have the required roles, use the Request-VBREntraIDLoginRequests login to Microsoft Entra ID using an account associated with the tenant whose data you are restoring. cmdlet to get access to Entra ID. For more information on the required permissions, see the Permissions section in the User Guide for Microsoft Entra ID.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Force |
Defines that the cmdlet will modify settings of managed file shares without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
Reason |
Specifies the reason of the restore operation. |
|
False |
Named |
False |
|
RestorePoint |
Specifies a restore point. The cmdlet will start restore to recover backup files to the specified restore point.
Accepts the |
True |
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 |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBREntraIDTenantRestoreSession object that contains properties of the tenant restore session.
Examples
Starting Entra ID Tenant Restore Session from Backup Copy
This example shows how to start a tenant restore session from the Tenant backup backup copy located on the \\WinSRV2049\Documents file share.
|
$backup = Get-VBRUnstructuredBackup -Name "Tenant Backup" $server = Get-VBRUnstructuredServer -Name "\\WinSRV2049\Documents" $restorePoint = Get-VBRUnstructuredBackupRestorePoint -Server $server -Backup $backup $retrieval = New-VBRUnstructuredBackupColdStorageRetrievalSettings -AmazonS3GlacierRetrievalPolicy HighPriority -AvailabilityPeriodDays 7 -EnableExpirationNotification -ExpirationHoursThreshold 24 $tenantRestoreSession = Start-VBREntraIDTenantCopyRestore -RestorePoint $restorePoint -Reason "users restore" -RetrievalSettings $retrieval |
Perform the following steps:
- Run the
Get-VBRUnstructuredBackupReturns backup files created by file backup jobs and object storage backup jobs. cmdlet. Specify theNameparameter value. Save the result to the$backupvariable. - Run the
Get-VBRUnstructuredServerReturns unstructured data sources added to the inventory. cmdlet. Specify theNameparameter value. Save the result to the$servervariable. - Run the
Get-VBRUnstructuredBackupRestorePointReturns restore points created by file backup jobs and object storage backup jobs. cmdlet. Set the$servervariable as theServerparameter value and the$backupvariable as theBackupparameter value. Save the result to the$restorePointvariable. - Run the
New-VBRUnstructuredBackupColdStorageRetrievalSettingscmdlet. Specify theAmazonS3GlacierRetrievalPolicy,AvailabilityPeriodDaysandExpirationHoursThresholdparameter values. Save the result to the$retrievalvariable. - Run the
Start-VBREntraIDTenantCopyRestorecmdlet. Set the$restorePointvariable as theRestorePointparameter value and the$retrievalvariable as theRetrievalSettingsparameter value. Specify theReasonparameter value. Save the result to the$tenantRestoreSessionvariable.
Related Commands
Start-VBREntraIDTenantRestoreStarts a restore session for a Microsoft Entra ID tenant.New-VBRUnstructuredBackupColdStorageRetrievalSettings