Add-VSBApplicationGroup (obsolete)
Short Description
Creates a VMware application group for SureBackup job.
Note |
|
This cmdlet is obsolete. The cmdlet still works, but it is recommended to create backup to tape copy jobs using the |
Platform: VMware
Syntax
This cmdlet provides the following parameter sets:
-
VmAdd-VSBApplicationGroup [-Name] <String> [-Vm] <CVm[]> [<CommonParameters>]
-
OibAdd-VSBApplicationGroup [-Name] <String> [-RestorePoint] <COib[]> [<CommonParameters>]
Detailed Description
This cmdlet creates a new VMware application group.
An application group is a component of SureBackup technology providing verification of virtual machines that need other virtual machines or services running, i.e. a domain controller, a DNS server or SQL database. To test such machines for recoverability, you need to create a SureBackup job and provide the copy of the production architecture running in a fenced-off environment that is performed by creating a virtual lab and an application group. The VMs in the application group are started first to ensure the proper testing environment for the primary VM.
Note that you can set the order the VMs in the application group will be powered on when the SureBackup job starts. This may be important if any of the applications must be started prior to other. The VMs are powered in the order they were added to the VM object in this cmdlet.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Name |
Specifies the string with the name you want to assign to the application group. |
|
True |
0 |
False |
|
RestorePoint |
Specifies the restore points of VMs that should be added to the application group. You can assign multiple restore points to this object.
Accepts the |
|
True |
1 |
True (ByPropertyName, ByValue) |
|
Vm |
Specifies the VMs you want to include into the application group. You can assign multiple VMs to this object.
Accepts the |
|
True |
1 |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Creating Application Group
This example allows you to create the AppGroup application group.
|
$vms = Find-VBRViEntity -Name "srv001", "srv002" -DatastoresAndVMs Add-VSBApplicationGroup -Name "AppGroup" -VM $vms |
Perform the following steps:
- Run the
Find-VBRViEntityLooks for VMware objects. cmdlet. Specify theNameparameter value. Provide theDatastoresAndVMsparameter. Save the result to the$vmsvariable. - Run the
Add-VSBApplicationGroupcmdlet. Specify theNameparameter value. Set the$vmsvariable as theVMparameter value.
Related Commands
Get-VBRRestorePointReturns restore points.