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][-ConnectionType <VBRRepositoryConnectionType>] [-GatewayServer <CHost[]>][-EnableSizeLimit] [-SizeLimit <Int32>] [-EnableNearlineStorageClass][-MountServerOptions <VBRRepositoryMountServerOptions>] [-GoogleProxySpec <VBRGoogleCloudComputeProxyAppliance>] [-LimitConcurrentJobs] [-MaxConcurrentJobs <Int32>] [-Force] [<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 Pipeline Input

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 name of the Google Cloud object storage. The cmdlet will assign this name to an object storage.

String

False

Named

False

Description

Specifies a description of a Google Cloud object storage. The cmdlet will assign this description to an object storage.

String

False

Named

False

UseGatewayServer

Defines that the cmdlet will use a gateway server to transfer data from processed VM to object storage repositories

Default: True.

Note: If you do not specify the UseGatewayServer parameter, the cmdlet will use a proxy server to trasfer data.

SwitchParameter

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.

Accepts the CHost[] object. To get this object, run the Get-VBRServer cmdlet.

False

Named

False

ConnectionType

Specifies how Veeam Backup & Replication will access the object storage repository:

  • Direct: Use this option if you want Veeam Backup & Replication to use a proxy server to transfer data from the processed VM to object storage repositories.
  • Gateway: Use this option if you want Veeam Backup & Replication to use a gateway server to transfer data from processed VM to object storage repositories.
    Note: Provide the GatewayServer parameter to specify the server.

Default: Direct.

VBRRepositoryConnectionType

False

Named

False

EnableSizeLimit

Enables size limits for the Google Cloud storage that you want to add as an object storage.

Default: False.

Note: Use the SizeLimit parameter to specify the size limits.

SwitchParameter

False

Named

False

SizeLimit

For the EnableSizeLimit parameter.

Specifies the size limits in TB or PB for data blocks that you want to store in Google Cloud storage added as an object storage repository.

Default: 10 TB

Int

False

Named

False

EnableNearlineStorageClass

Enables the nearline storage class for optimized archive storage.

Default: False.

SwitchParameter

False

Named

False

GoogleProxySpec

Specifies proxy appliance settings for adding object storage repository.

Accepts the VBRGoogleCloudComputeProxyAppliance object. To create this object, run the New-VBRGoogleCloudComputeProxyAppliance cmdlet.

False

Named

False

MountServerOptions

Specifies settings of a mount server for object storage repositories.

Note: This parameter is required for object storage repositories that you want to add as performance extents to a scale-out backup repository.

Accepts the VBRRepositoryMountServerOptions object. To create this object, run the New-VBRRepositoryMountServerOptions cmdlet.

False

Named

False

LimitConcurrentJobs

Defines that the number of concurrent jobs using this repository must be limited.

Use the MaxConcurrentJobs parameter to set the maximum value.

SwitchParameter

False

Named

False

MaxConcurrentJobs

To set maximum value for the LimitConcurrentJobs parameter.

Specifies the maximum allowed number of concurrent tasks for a repository.

Permitted values: 1 to 99.

Int32

False

Named

False

Force

Defines that the cmdlet will add an object storage repository without showing warnings in the PowerShell console.

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

VBRGoogleCloudRepository

Examples

Modifying Gateway Server of Google Cloud Repository

This example shows how to modify settings for a Google Cloud object storage added to the backup infrastructure. The cmdlet will use custom gateway servers to connect to Google Cloud object storage.

$repository = Get-VBRObjectStorageRepository -Name "google"

$gateserv = Get-VBRServer -Name "north.tech.local, north2.tech.local"

Set-VBRGoogleCloudRepository -Repository $repository -UseGatewayServer -GatewayServer $gateserv

Perform the following steps:

  1. Run the Get-VBRObjectStorageRepository cmdlet. Specify the Name parameter value. Save the result to the $google variable.
  2. Run the Get-VBRServer cmdlet. Specify the Name parameter value. Save the result to the $gateserv variable.
  3. Run the Set-VBRGoogleCloudRepository cmdlet.  Set the $repository variable as the Repository parameter value. Provide the UseGatewayServer parameter. Set the $gateserv variable as the GatewayServer parameter value.

Related Commands