Add-VBRProtectionGroup
Short Description
Creates protection groups in Veeam Backup & Replication.
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Add-VBRProtectionGroup -Name <String> [-Description <String>] -Container <VBRProtectionGroupContainer> [-ScheduleOptions <VBRProtectionGroupScheduleOptions>] [-DeploymentOptions <VBRProtectionGroupDeploymentOptions>] [-AdvancedOptions <VBRProtectionGroupAdvancedWindowsOptions>] [-NotificationOptions <VBRProtectionGroupNotificationOptions>] [-CacheRepository <VBRBackupRepository>] [<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.
- InterSystems IRIS servers.
For more information about the protection scope, see the following cmdlets:
New-VBRADContainerCreates a scope of Active Directory objects for a protection group.New-VBRIndividualComputerContainerCreates a scope of computers for a protection group.New-VBRAmazonEC2ContainerDefines a scope of Amazon EC2 instances, EC2 tags or AWS datacenters for a protection group.New-VBRAzureContainerDefines a scope of Azure VMs, Azure tags or Azure Availability Zone for a protection group.New-VBRCSVContainerCreates a scope of computers listed in a CSV file.New-VBRManuallyDeployedContainerDefines a scope of Veeam Agent setup files.New-VBRMongoDBContainerCreates a MongoDB container for an array of existing custom credentials.New-VBRIrisContainerDefines containers of InterSystems IRIS servers for protection groups.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AdvancedOptions |
Specifies settings for Veeam Agent for Windows deployed on computers in the protection group. You can specify the following settings:
Accepts the |
False |
Named |
True (ByPropertyName) |
|
|
CacheRepository |
Specifies the cache repository for the protection group. Veeam Backup & Replication will keep the .VCACHE files on this repository. This parameter applies only to protection groups with the IrisServers container type. If you do not specify the parameter, Veeam Backup & Replication will automatically select a default cache repository.
Accepts the |
|
False |
Named |
True (ByPropertyName) |
|
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 (ByPropertyName, ByValue) |
|
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 |
False |
Named |
True (ByPropertyName) |
|
|
Description |
Specifies the description of the protection group. |
|
False |
Named |
True (ByPropertyName) |
|
Name |
Specifies the name you want to assign to the protection group. |
|
True |
Named |
True (ByPropertyName) |
|
NotificationOptions |
Specifies notification settings for the protection group.
Accepts the |
False |
Named |
True (ByPropertyName) |
|
|
ScheduleOptions |
Specifies the discovery schedule. The cmdlet will use this schedule to perform discovery operations for computers in the protection group.
Accepts the |
False |
Named |
True (ByPropertyName) |
<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
New-VBRIndividualComputerCustomCredentialsSpecifies a method for authenticating individual computers.New-VBRIndividualComputerContainerCreates a scope of computers for a protection group.New-VBRPeriodicallyOptionsCreates periodical schedule settings.New-VBRProtectionGroupScheduleOptionsCreates a discovery schedule.New-VBRProtectionGroupDeploymentOptionsDefines protection group deployment settings.Get-VBRBackupRepositoryReturns a list of backup repositories.