Short Description
Creates a VMware application group for a SureBackup job.
Applies to
Platform: VMware
For Hyper-V, run Add-VSBHvApplicationGroup.
Product Edition: Enterprise, Enterprise Plus
Syntax
Add-VSBViApplicationGroup [-Name <string>] [-VmFromBackup <CViVmItem[]>] [-VmFromReplica <CViVmItem[]>] [-RestorePoint <COib[]>] [<CommonParameters>] |
Detailed Description
This cmdlet creates VMware application group.
You can set the order in which the VMs in the application group will be powered on when the SureBackup job starts. VMs are powered on in the order they were added to the VM object in this cmdlet.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Name | Specifies the name you want to assign to the application group. | False | Named | False | False |
VmFrom | Specifies the array of VMware VMs from backups. Veeam Backup & Replication will search for backups that contain the specified VMs and add these VMs to the application group. | False | Named | True (ByValue, | False |
VmFrom | Specifies the array of VMware VMs from replicas. Veeam Backup & Replication will search for replicas that contain the specified VMs and add these VMs to the application group. | False | Named | True (ByValue, | False |
Restore | Specifies the array of VMware VMs. VMs that you plan to add to the application group must have at least one valid restore point. | False | Named | True (ByValue, | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example 1
The example shows how to create a new application group for VMware VMs.
You will need to perform the following steps:
- Run Get-VBRRestorePoint to get VMs that you plan to add to the application group. Save the result to the $restorepoint variable.
- Run Add-VSBViApplicationGroup with the $restorepoint variable.
PS C:\PS> $restorepoint = Get-VBRRestorePoint -Name "MSExchange" PS C:\PS> Add-VSBViApplicationGroup -Name "MailServer Appgroup" -RestorePoint $restorepoint |
Example 2
This example shows how to create a new application group for VMware VMs from backups.
You will need to perform the following steps:
- Run Find-VBRViEntity to get VMs that you plan to add to the application group. Save the result to the $vmb variable.
- Run Add-VSBHvApplicationGroup with the $vmb variable. Use the VmFromBackup parameter to select VMs from backups.
PS C:\PS> $vmb = Find-VBRViEntity -Name "Srv01", "Srv02" PS C:\PS> Add-VSBViApplicationGroup -Name "Support North Appgroup" -VmFromBackup $vmb |
Example 3
This example shows how to create a new application group for VMware VMs from replicas.
You will need to perform the following steps:
- Run Find-VBRViEntity to get VMs that you plan to add to the application group. Save the result to the $vmr variable.
- Run Add-VSBViApplicationGroup with the $vmr variable. Use the VmFromReplica parameter to select VMs from replicas.
PS C:\PS> $vmr = Find-VBRViEntity -Name "Srv03", "Srv04" PS C:\PS> Add-VSBViApplicationGroup -Name "QA Appgroup" -VmFromReplica $vmr |
Related Commands