Set-VBRGoogleCloudExternalRepository
Short Description
Modifies external Google Cloud storage repository.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRGoogleCloudExternalRepository -ExternalRepository <VBRGoogleCloudExternalRepository> [-Name <String>] [-Description <String>] [-MountServerOptions <VBRRepositoryMountServerOptions[]>] [-DecryptBackups] [-DecryptionKey <VBREncryptionKey>] [-GatewayServer <CHost>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies external Google Cloud 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 |
|---|---|---|---|---|---|
|
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 the Google Cloud storage. |
|
False |
Named |
False |
|
ExternalRepository |
Specifies the external Google Cloud storage repository that you want to modify.
Accepts the |
|
True |
Named |
True (ByValue) |
|
GatewayServer |
Specifies the gateway server. Veeam Backup & Replication will use this server to access a Google Cloud bucket.
Accepts the |
|
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 the Google Cloud storage repository. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRGoogleCloudExternalRepository object that contains settings of external Google Cloud storage repository added to the backup infrastructure..
Examples
Modifying Decryption Password of External Google Cloud Storage
This example shows how to modify the decryption password for the Google_Repository external Google Cloud storage.
|
$repository = Get-VBRExternalRepository -Name "Google_Repository" $securepassword = Read-Host -Prompt "Enter password" -AsSecureString $key = Add-VBREncryptionKey -Password $securepassword Set-VBRGoogleCloudExternalRepository -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. - Run the
Read-Hostcmdlet. Specify the message which the console will display as a prompt. 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
Set-VBRGoogleCloudExternalRepositorycmdlet. 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.