Start-VBRADForestRestore
Short Description
Starts a Microsoft Active Directory forest restore.
Applies to
Platform: VMware, Hyper-V
Product Edition: Veeam Universal License
Syntax
|
Start-VBRADForestRestore -RestorePoint <VBRADForestRestorePoint> -DomainRestoreSpec <VBRADForestDomainRestoreSpec[]> [-ReIpRule <VBRADForestReIpRule[]>] [-Reason <String>] [-RunAsync] [<CommonParameters>] |
Detailed Description
This cmdlet starts a restore of a Microsoft Active Directory forest. The cmdlet restores domain controllers from a backup to the specified target hosts.
Before starting the restore, create a domain restore specification for each domain controller you want to restore. For VMware environments, run the New-VBRViADForestDomainRestoreSpec cmdlet. For Hyper-V environments, run the New-VBRHvADForestDomainRestoreSpec cmdlet.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
RestorePoint |
Specifies the restore point for the Microsoft Active Directory forest from which to restore domain controllers. |
Accepts the VBRADForestRestorePoint object. To get this object, run the Get-VBRADForestRestorePoint cmdlet. |
True |
Named |
False |
|
DomainRestoreSpec |
Specifies the array of domain restore specifications. Each specification defines the target settings for restoring a domain controller VM. The domain restore specification must contain exactly one root domain. All domain restore specifications must belong to the same Microsoft Active Directory forest as the specified restore point. |
Accepts the VBRADForestDomainRestoreSpec[] object. To create this object, run the New-VBRViADForestDomainRestoreSpec or New-VBRHvADForestDomainRestoreSpec cmdlet. |
True |
Named |
False |
|
ReIpRule |
Specifies the array of re-IP rules for the restore. Use re-IP rules when the domain controllers must be restored to a network with a different IP addressing scheme. |
Accepts the VBRADForestReIpRule[] object. To create this object, run the New-VBRADForestReIpRule cmdlet. |
False |
Named |
False |
|
Reason |
Specifies the reason for the restore operation. Veeam Backup & Replication adds this reason to the restore session log. |
String |
False |
Named |
False |
|
RunAsync |
Defines that the cmdlet will run the restore operation asynchronously. The cmdlet returns a session object immediately without waiting for the restore 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
The cmdlet returns the VBRADForestRestoreSession object that contains properties of the Microsoft Active Directory forest restore session.
Examples
Example 1. Microsoft Active Directory Forest Restore to VMware vSphere
|
This example shows how to start a Microsoft Active Directory forest restore for a VMware vSphere environment. It restores two domain controllers — one from the root domain and one from a child domain.
Perform the following steps:
Save the result to the $rootSpec variable.
Save the result to the $restore variable to use it with other cmdlets. |
Example 2. Microsoft Active Directory Forest Restore to Microsoft Hyper-V
|
This example shows how to start a Microsoft Active Directory forest restore for a Microsoft Hyper-V environment. It restores two domain controllers — one from the root domain and one from a child domain.
Perform the following steps:
Save the result to the $rootSpec variable.
Save the result to the $restore variable to use it with other cmdlets. |
Related Commands