Set-VBRAmazonS3CompatibleRepository
Short Description
Modifies settings for S3 compatible object storage added as a backup repository.
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRAmazonS3CompatibleRepository -Repository <VBRAmazonS3CompatibleRepository> [-Name <String>] [-Description <String>] [-UseGatewayServer] [-ConnectionType <VBRRepositoryConnectionType>] [-GatewayServer <CHost[]>] [-ProxyAppliance <CHost>] [-EnableSizeLimit] [-SizeLimit <Int32>] [-ImmutabilityMode <VBRRepositoryImmutabilityMode>] [-ImmutabilityPeriod <Int32>] [-MountServerOptions <VBRRepositoryMountServerOptions[]>] [-EnableConcurrentTasksLimit] [-MaxConcurrentTasks <Int32>] [-EnableBucketAutoProvision] [-MachinesPerBucketLimit <Int32>] [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings for S3 compatible object storage added as a backup repository Veeam Backup & Replication.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ConnectionType |
Specifies how Veeam Backup & Replication will access the object storage repository:
Default: |
|
False |
Named |
False |
|
Description |
Specifies a description of an S3 compatible object storage. The cmdlet will add object storage with this description. |
|
False |
Named |
False |
|
EnableBucketAutoProvision |
For creating multiple child buckets. Defines that the cmdlet will create multiple child buckets automatically. |
|
False |
Named |
False |
|
EnableConcurrentTasksLimit |
Enables limits for concurrent tasks that can be processed by the object storage repository.
Use the |
|
False |
Named |
False |
|
EnableSizeLimit |
Enables size limits for data blocks that you want to store in an S3 compatible object storage.
Use the
Default: |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will modify an object storage repository without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
GatewayServer |
Specifies an array of gateway servers that you want to use to transfer data from processed VM to object storage repositories. |
|
False |
Named |
False |
|
ImmutabilityMode |
Specifies the immutability retention period:
|
|
False |
Named |
False |
|
ImmutabilityPeriod |
For the Defines the immutability period in days. Default: 30 days. Maximum: 999 days. |
|
False |
Named |
False |
|
MachinesPerBucketLimit |
For creating multiple child buckets. Specifies a number of per-machine backup chains in a sub bucket. The cmdlet will create child buckets according to the amount of per-machine backup chains.
Default: |
|
False |
Named |
False |
|
MaxConcurrentTasks |
Specifies a maximum number of concurrent tasks that can be processed at once by the object storage repository. |
|
False |
Named |
False |
|
MountServerOptions |
Specifies settings of a mount server for object storage repositories. Note: This parameter is required for object storage repositories that you want to add as performance extents to a scale-out backup repository.
Accepts the |
False |
Named |
True (ByPropertyName) |
|
|
Name |
Specifies a name of an S3 compatible object storage. The cmdlet will add object storage with this name. |
|
False |
Named |
False |
|
ProxyAppliance |
Specifies a helper appliance. Veeam Backup & Replication will use this appliance to perform a health check of backup files and apply retention to file backup job files. |
|
False |
Named |
False |
|
Repository |
Specifies an S3 compatible object storage that you want to modify.
Accepts the |
True |
Named |
True (ByValue) |
|
|
SizeLimit |
For the Specifies size limits in GB for data blocks that you want to store in an S3 compatible object storage.
Permitted value:
Default: |
|
False |
Named |
False |
|
UseGatewayServer |
Note: This parameter is deprecated and will be ignored. Use the Defines that the cmdlet will use a gateway server to transfer data from processed VM to object storage repositories.
Default: |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
VBRAmazonS3CompatibleRepository
Examples
Modifying Gateway Server Settings of S3 Compatible Object Storage
This example shows how to modify settings for an S3 compatible object storage added as a backup repository. The cmdlet will use custom gateway servers to connect to S3 compatible object storage.
|
$amazon = Get-VBRObjectStorageRepository -Type AmazonS3Compatible $gateserv = Get-VBRServer -Name "north.tech.local", "north2.tech.local" Set-VBRAmazonS3CompatibleRepository -Repository $amazon -ConnectionType Gateway -GatewayServer $gateserv |
Perform the following steps:
- Run the
Get-VBRObjectStorageRepositoryReturns object storage added as backup repositories to Veeam Backup & Replication. cmdlet. Set theAmazonS3Compatibleoption for theTypeparameter. Save the result to the$amazonvariable. - Run the
Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify theNameparameter value. Save the result to the$gateservvariable. - Run the
Set-VBRAmazonS3CompatibleRepositorycmdlet. Set the$amazonvariable as theRepositoryparameter value. Set theGatewayvalue for theConnectionTypeparameter. Set the$gateservvariable as theGatewayServerparameter value.
Related Commands
Get-VBRObjectStorageRepositoryReturns object storage added as backup repositories to Veeam Backup & Replication.Get-VBRServerReturns hosts connected to the backup infrastructure.