Set-VBRAzureExternalRepository
Short Description
Modifies external Microsoft Azure Blob storage repository.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRAzureExternalRepository -ExternalRepository <VBRAzureExternalRepository> [-Name <String>] [-Description <String>] [-MountServerOptions <VBRRepositoryMountServerOptions[]>] [-DecryptBackups] [-DecryptionKey <VBREncryptionKey>] [-GatewayServer <CHost>] [-AzureSubscription <VBRAzureSubscription>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies external Microsoft Azure Blob storage 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 |
|---|---|---|---|---|---|
|
AzureSubscription |
Specifies the subscriptions associated with a Microsoft Azure account.
Accepts the |
False |
Named |
False |
|
|
DecryptBackups |
Defines that Veeam Backup & Replication will decrypt encrypted backups.
Default: |
|
False |
Named |
False |
|
DecryptionKey |
Specifies the password that Veeam Backup & Replication will use to decrypt the backup files. |
|
False |
Named |
False |
|
Description |
Specifies the description of Microsoft Azure Blob storage repository that you want to add as an external repository. |
|
False |
Named |
False |
|
ExternalRepository |
Specifies the Microsoft Azure Blob storage repository added as an external repository. The cmdlet will modify this repository.
Accepts the |
|
True |
Named |
True (ByValue) |
|
GatewayServer |
Specifies the gateway server. Veeam Backup & Replication will use this server to access Microsoft Azure Blob storage repository. |
|
False |
Named |
False |
|
MountServerOptions |
Specifies the mount server settings for the servers that you plan to use as mount servers during the restore process.
Accepts the |
False |
Named |
True (ByPropertyName) |
|
|
Name |
Specifies the name of Microsoft Azure Blob storage repository that you want to add as an external repository. |
|
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 the VBRAzureExternalRepository object that contains settings of Microsoft Azure Blob storage repository added as an external repository.
Examples
Modifying Decryption Password of External Azure Blob Storage Repository
This example shows how to modify the decryption password of Microsoft Azure Blob storage repository named Microsoft Azure Repository.
|
$repository = Get-VBRExternalRepository -Name "Microsoft Azure Repository" $securepassword = Read-Host -Prompt "Enter password" -AsSecureString $key = Add-VBREncryptionKey -Password $securepassword Set-VBRAzureExternalRepository -ExternalRepository $repository -DecryptBackups -DecryptionKey $key |
Perform the following steps:
- Run the
Get-VBRExternalRepositoryReturns an array of external repositories from the backup infrastructure. cmdlet. Specify theNameparameter value. Save the result to the$repositoryvariable. - Specify the password to decrypt backup files:
- Run the
Read-Hostcmdlet. Specify thePromptparameter value. Provide theAsSecureStringparameter. Save the result to the$securepasswordvariable. - Run the
Add-VBREncryptionKeyCreates encryption key. cmdlet. Set the$securepasswordvariable as thePasswordparameter value. Save the result to the$keyvariable.
- Run the
- Run the
Set-VBRAzureExternalRepositorycmdlet. Specify the following settings:- Set the
$repositoryvariable as theExternalRepositoryparameter value. - Provide the
DecryptBackupsparameter. - Set the
$keyvariable as theDecryptionKeyparameter value.
- Set the
Related Commands
Get-VBRExternalRepositoryReturns an array of external repositories from the backup infrastructure.Add-VBREncryptionKeyCreates encryption key.