Start-VBRVMRestoreToAmazon
Short Description
Starts a restore session of workloads to Amazon EC2 service.
Platform: VMware, Hyper-V
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Start-VBRVMRestoreToAmazon -RestorePoint <COib> [-Region <VBRAmazonEC2Region>] -LicenseType <VBRAmazonEC2LicenseType> -InstanceType <VBRAmazonEC2InstanceType> -VMName <String> [-DiskConfiguration <VBRAmazonEC2DiskConfiguration[]>] [-VPC <VBRAmazonEC2VPC>] -Subnet <VBRAmazonEC2Subnet> -SecurityGroup <VBRAmazonEC2SecurityGroup> [-Reason <String>] [-EnableAntivirusScan] [-EnableYARAScan] [-YARAScanRule <String>] [-EnableEntireVolumeScan] [-VirusDetectionAction <VBRAmazonEC2VirusDetectionAction>] [-VirusIsolatedSecurityGroup <VBRAmazonEC2SecurityGroup>] [-ProxyAppliance <VBRAmazonEC2ProxyAppliance>] [-Credentials <CCredentials>] [-Wait] [-AmazonEC2Tag <VBRAmazonEC2Tag[]>] [-AllocatePublicIP] [-PrivateIpAddress <VBRAmazonIpAddress>] [-ShutdownVM] [<CommonParameters>] |
Detailed Description
This cmdlet starts a restore session of workloads to Amazon EC2 service.
Note |
|
To stop a restore session, run the Stop-VBRVMRestoreToAmazonStops running restore to Amazon EC2 sessions. cmdlet. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AllocatePublicIP |
Defines that the cmdlet assigns a public IP to the restored VM. If you do not provide this parameter, the restored VM remains without the public IP. |
|
False |
Named |
False |
|
AmazonEC2Tag |
Specifies AmazonEC2 tags. The cmdlet will restore VMs with the specified tags.
Accepts the |
|
False |
Named |
False |
|
Credentials |
For restoring backups located on a network shared folder. Specifies the credentials to authenticate with the network shared folder. |
|
False |
Named |
False |
|
DiskConfiguration |
Specifies the array of storage volume settings for Amazon EC2 instances. If you do not specify this parameter, the cmdlet will restore all disks as General Purpose SSD (GP2).
Accepts the |
|
False |
Named |
False |
|
EnableAntivirusScan |
Enables the secure restore option. Veeam Backup & Replication will trigger the antivirus software to scan selected machines before the restore. |
|
False |
Named |
False |
|
EnableEntireVolumeScan |
For secure restore. Enables the option for the antivirus to continue VMs scan after the first virus threat is found. Use this option if you want to get the report on all virus threats. |
|
False |
Named |
False |
|
EnableYARAScan |
Enables the YARA scan for the selected VMs.
Use the |
|
False |
Named |
False |
|
InstanceType |
Specifies the Amazon EC2 instance type. The cmdlet will restore the VM with the CPU and memory settings of the selected instance.
Accepts the |
True |
Named |
False |
|
|
LicenseType |
Specifies the OS license. You can select the following types of licenses:
|
|
True |
Named |
False |
|
PrivateIpAddress |
Specifies the dynamic or static private IP address that will be assigned to the restored workload.
Accepts the |
False |
Named |
False |
|
|
ProxyAppliance |
Specifies the AmazonEC2 proxy appliance.
Accepts the |
False |
Named |
False |
|
|
Reason |
Specifies the restore reason. |
|
False |
Named |
False |
|
Region |
Specifies the Amazon EC2 region. The cmdlet will restore the VM to this Amazon EC2 region.
Accepts the |
False |
Named |
False |
|
|
RestorePoint |
Specifies the restore point of workloads that you want to restore to Amazon EC2.
Accepts the |
|
True |
Named |
False |
|
SecurityGroup |
Specifies the Amazon VPC security group.
Accepts the |
True |
Named |
False |
|
|
ShutdownVM |
Defines that the cmdlet powers off the restored VM after the restore is complete. If you do not provide this parameter, the restored VM remains powered on. |
|
False |
Named |
False |
|
Subnet |
Specifies the Amazon VPC subnet.
Accepts the |
True |
Named |
False |
|
|
VirusDetectionAction |
For secure restore. Specifies the secure restore action when the virus threat is detected.
|
|
False |
Named |
False |
|
VirusIsolatedSecurityGroup |
For secure restore. Specifies the AmazonEC2 security group. Veeam Backup & Replication will restore the infected the machine to the selected security group.
Accepts the |
False |
Named |
False |
|
|
VMName |
Specifies the name for the target EC2 instance. Veeam Backup & Replication will restore the instance with this name. |
|
True |
Named |
False |
|
VPC |
Specifies the Amazon VPC.
Accepts the |
False |
Named |
False |
|
|
Wait |
Defines that the command waits for the process to complete before accepting more input. |
|
False |
Named |
False |
|
YARAScanRule |
Specifies the YARA rule. Veeam Backup & Replication will scan VMs with this rule.
Veeam Backup & Replication searches for YARA rules in the
To use a YARA rule, you must specify its name and extension. Veeam Backup & Replication accepts only |
|
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 VBRVMRestoreToAmazon object that contains settings of a restore session to Amazon EC2 service.
Examples
Example 1. Restoring Workloads to Amazon EC2
|
This example shows how to restore workloads to Amazon EC2.
Perform the following steps:
|
Example 2. Restoring Workloads to Amazon EC2 using Proxy Appliance
|
This example shows how to restore workloads to Amazon EC2 with AmazonEC2 proxy appliance.
Perform the following steps:
|
Example 3. Restoring Backups Created by Veeam Agent for Microsoft Windows to Amazon EC2
|
This example shows how to restore backups of computers created by Veeam Agent for Microsoft Windows to Amazon EC2.
Perform the following steps:
|
Related Commands
Get-VBRAmazonAccountReturns AWS credentials records.Get-VBRAmazonEC2RegionReturns AWS Regions and datacenters.New-VBRAmazonEC2DiskConfigurationCreates storage volume settings for Amazon EC2 instances.Get-VBRAmazonEC2InstanceTypeReturns an array of Amazon EC2 instances.Get-VBRAmazonEC2VPCReturns an Amazon VPC.Get-VBRAmazonEC2SecurityGroupReturns an array of AmazonEC2 security groups.Get-VBRAmazonEC2SubnetReturns an array of Amazon VPC subnets.New-VBRAmazonEC2ProxyApplianceDefines settings for Amazon EC2 helper appliances.