Set-VBRGoogleCloudRepository
Short Description
Modifies settings for Google Cloud object storage added as a backup repository.
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Set-VBRGoogleCloudRepository -Repository <VBRGoogleCloudRepository> [-Name <string>] [-Description <string>] [-UseGatewayServer] [-GatewayServer <CHost>] [-EnableSizeLimit] [-SizeLimit <int>] [-EnableNearlineStorageClass] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings for Google Cloud object storage repository added as a backup repository.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Repository | Specifies the Google Cloud object storage that you want to modify. | Accepts the VBRGoogleCloudRepository object. To create this object, run the Add-VBRGoogleCloudRepository cmdlet. | True | Named | True (ByValue, ByPropertyName) |
Name | Specifies a new name for the Google Cloud object storage. | String | False | Named | False |
Description | Specifies a description of the Google Cloud object storage. | String | False | Named | False |
UseGatewayServer | Defines that the cmdlet will use a gateway server to access Google Cloud object storage added as a backup repository. Default: True | SwitchParameter | False | Named | False |
GatewayServer | Specifies a gateway server that you want to use to access Google Cloud object storage. | CHost | False | Named | False |
EnableSizeLimit | Defines that the cmdlet will enable size limits for a Google Cloud storage that you want to add as a backup repository. Default: | SwitchParameter | False | Named | False |
SizeLimit | For the EnableSizeLimit parameter. Specifies size limits in GB for data blocks that you want to store in Google Cloud storage added as an object storage repository. | Int | False | Named | False |
EnableNearlineStorageClass | Enables nearline storage class for optimized archive storage. Default: | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
This cmdlet returns the VBRGoogleCloudRepository object that defines the Google Cloud repository settings.
Examples
Setting up Google Cloud Repository
This example shows how to modify settings for a Google Cloud object storage added to the backup infrastructure.
$repository = Get-VBRObjectStorageRepository -Name "google" $gateserv = Get-VBRServer -Name north.tech.local Set-VBRGoogleCloudRepository -Repository $repository -GatewayServer $gateserv -UseGatewayServer |
Perform the following steps:
- Run the Get-VBRObjectStorageRepository cmdlet. Specify the Name parameter value. Save the result to the $google variable.
- Run the Get-VBRServer cmdlet. Specify the Name parameter value. Save the result to the $gateserv variable.
- Run the Set-VBRGoogleCloudRepository cmdlet. Specify the following settings:
- Set the $google variable as the Repository parameter value.
- Set the $gateserv variable as the GatewayServer parameter value.
- Provide the UseGatewayServer parameter.
Related Commands