Add-VBRProtectionGroup
Short Description
Creates protection groups in Veeam Backup & Replication.
Applies to
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Add-VBRProtectionGroup -Name <string> -Container <VBRProtectionGroupContainer>[-Description <string>] [-ScheduleOptions <VBRProtectionGroupScheduleOptions>] [-DeploymentOptions <VBRProtectionGroupDeploymentOptions>] [-AdvancedOptions <VBRProtectionGroupAdvancedWindowsOptions>] [-NotificationOptions <VBRProtectionGroupNotificationOptions>] [<CommonParameters>] |
Detailed Description
This cmdlet creates protection groups.
Before creating a protection group, you must create a protection scope for this group. Protection groups can include the following objects:
- Active Directory objects.
- Individual computers.
- Cloud machines.
- Computers imported from a CSV file.
- Computers with pre-installed backup agents.
- MongoDB Replica sets.
For more information about the protection scope, see the following cmdlets:
- New-VBRADContainer
- New-VBRIndividualComputerContainer
- New-VBRAmazonEC2Container
- New-VBRAzureContainer
- New-VBRCSVContainer
- New-VBRManuallyDeployedContainer
- New-VBRMongoDBContainer
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Container | Specifies the protection scope. The protection scope can contain the following objects:
The cmdlet will create the protection group with this protection scope. | Accepts the following objects: To get this objects, run one of the following cmdlets: | True | Named | True (ByValue, |
Name | Specifies the name you want to assign to the protection group. | String | True | Named | True (ByProperty |
Description | Specifies the description of the protection group. | String | False | Named | True (ByProperty |
ScheduleOptions | Specifies the discovery schedule. The cmdlet will use this schedule to perform discovery operations for computers in the protection group. | Accepts the VBRProtectionGroupScheduleOptions object. To get this object, run the New-VBRProtectionGroupScheduleOptions cmdlet. | False | Named | True (ByProperty |
DeploymentOptions | Specifies Veeam Agent deployment settings. The cmdlet will use these settings to install Veeam Agent on the discovered computers in the protection group. | Accepts the VBRProtectionGroupDeploymentOptions object. To get this object, run the New-VBRProtectionGroupDeploymentOptions cmdlet. | False | Named | True (ByProperty |
AdvancedOptions | Specifies settings for Veeam Agent for Windows deployed on computers in the protection group. You can specify the following settings:
| Accepts the VBRProtectionGroupAdvancedWindowsOptions object. To get this object, run the New-VBRProtectionGroupAdvancedWindowsOptions cmdlet. | False | Named | True (ByProperty |
NotificationOptions | Specifies notification settings for the protection group. | Accepts the VBRProtectionGroupNotificationOptions object. To get this object, run the New-VBRProtectionGroupNotificationOptions cmdlet. | False | Named | True (ByProperty |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Creating Protection Group for Individual Computers
This example shows how to create a protection group with the following settings:
Perform the following steps:
|
Example 2. Creating Protection Group for Pre-Installed Veeam Agents
This example shows how to create a protection group that will include Linux and Unix computers with pre-installed Veeam Agents.
Perform the following steps:
|
Related Commands