Set-VBRAmazonS3GlacierRepository
Short Description
Modifies settings for Amazon S3 Glacier archive storage added as a backup repository.
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRAmazonS3GlacierRepository -Repository <VBRAmazonS3GlacierRepository> [-Name <String>] [-Description <String>] [-AmazonProxySpec <VBRAmazonEC2ProxyAppliance>] [-UseDeepArchive] [-UseInstantRetrieval] [-UseGatewayServer] [-GatewayServer <CHost[]>] [-ImmutabilityMode <VBRRepositoryImmutabilityMode>] [-ImmutabilityPeriod <Int32>] [-ConnectionType <VBRRepositoryConnectionType>] [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings for Amazon S3 Glacier archive storage repository added as a backup repository.
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 |
|---|---|---|---|---|---|
|
AmazonProxySpec |
Specifies the archiver appliance that will transfer the data from Amazon S3 to Amazon S3 Glacier object storage.
Accepts the |
False |
Named |
False |
|
|
ConnectionType |
Specifies how Veeam Backup & Replication will access the object storage repository:
Default: |
|
False |
Named |
False |
|
Description |
Specifies a description of an Amazon S3 Glacier object storage. The cmdlet will add object storage with this description. |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will modify 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 |
Defines the immutability period in days.
Default:
Maximum: |
|
False |
Named |
False |
|
Name |
Specifies a name of an Amazon S3 Glacier object storage. The cmdlet will add object storage with this name. |
|
False |
Named |
False |
|
Repository |
Specifies an Amazons S3 Glacier archive storage that you want to modify.
Accepts the |
True |
Named |
True (ByValue) |
|
|
UseDeepArchive |
Defines that the cmdlet will create a repository where blocks are marked with the Glacier Deep Archive storage class.
Note: If you do not provide the
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 |
|
UseInstantRetrieval |
Defines that the cmdlet will create a repository where blocks are marked with the Amazon S3 Glacier Instant Retrieval storage class.
Note: If you do not provide the
Default: |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Modifying Amazon S3 Glacier Storage Class
This example shows how to modify settings of the Repository 03 Amazon S3 Glacier object storage. The cmdlet will set the Glacier Deep Archive storage class to data blocks located in the object storage.
|
$amazon = Get-VBRArchiveObjectStorageRepository -Name "Repository 03" Set-VBRAmazonS3GlacierRepository -Repository $amazon -UseDeepArchive |
Perform the following steps:
- Run the
Get-VBRArchiveObjectStorageRepositoryReturns archive repositories added to the backup infrastructure. cmdlet. Specify theNameparameter value. Save the result to the$amazonvariable. - Run the
Set-VBRAmazonS3GlacierRepositorycmdlet. Set the$amazonvariable as theRepositoryparameter value. Provide theUseDeepArchiveparameter.
Related Commands
Get-VBRArchiveObjectStorageRepositoryReturns archive repositories added to the backup infrastructure.Get-VBRServerReturns hosts connected to the backup infrastructure.