Set-VBRAzureArchiveRepository
Short Description
Modifies settings for Azure Archive repository added to the backup infrastructure.
Platform: VMware, Hyper-V
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRAzureArchiveRepository -Repository <VBRAzureArchiveRepository> [-Name <String>] [-Description <String>] [-AzureProxySpec <VBRAzureComputeProxyAppliance>] [-UseInstantRetrieval] [-UseGatewayServer] [-GatewayServer <CHost[]>] [-ImmutabilityMode <VBRRepositoryImmutabilityMode>] [-ImmutabilityPeriod <Int32>] [-ConnectionType <VBRRepositoryConnectionType>] [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet modifies the settings for an Azure Archive repository added to the backup infrastructure.
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 |
|---|---|---|---|---|---|
|
AzureProxySpec |
Specifies a proxy appliance for transferring the data.
Accepts the |
False |
Named |
False |
|
|
ConnectionType |
Specifies how Veeam Backup & Replication will access the object storage repository:
Default: |
|
False |
Named |
False |
|
Description |
Specifies a new description of the Azure Archive repository. |
|
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 |
Defines the immutability period in days.
Default:
Maximum: |
|
False |
Named |
False |
|
Name |
Specifies a new name for the Azure Archive repository. |
|
False |
Named |
False |
|
Repository |
Specifies an Azure Archive repository that you want to modify.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
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 data blocks are marked with the cool access tier.
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.
Output Object
This cmdlet returns VBRAzureArchiveRepository object that defines the Azure Archive repository settings.
Examples
Modifying Gateway Server of Azure Archive Repository
This example shows how to modify Azure Archive repository added to the backup infrastructure. The cmdlet will use custom gateway servers server to connect to Azure Archive repository.
|
$azure = Get-VBRArchiveObjectStorageRepository -Name "Azure" $gateserv = Get-VBRServer -Name "north.tech.local", "north2.tech.local" Set-VBRAzureArchiveRepository -Repository $azure -ConnectionType Gateway -GatewayServer $gateserv |
Perform the following steps:
- Run the
Get-VBRArchiveObjectStorageRepositoryReturns archive repositories added to the backup infrastructure. cmdlet. Specify theNameparameter value. Save the result to the$azurevariable. - Run the
Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify theNameparameter value. Save the result to the$gateservvariable. - Run the
Set-VBRAzureArchiveRepositorycmdlet. Set the$azurevariable as theRepositoryparameter value. Set theGatewayvalue for theConnectionTypeparameter. Set the$gateservvariable as theGatewayServerparameter value.
Related Commands
Add-VBRAzureArchiveRepositoryAdds Azure Archive repository to the backup infrastructure.Get-VBRArchiveObjectStorageRepositoryReturns archive repositories added to the backup infrastructure.Get-VBRServerReturns hosts connected to the backup infrastructure.