Connect-VBRGoogleCloudService

Short Description

Connects to Google Cloud object storage.

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Connect-VBRGoogleCloudService -Account <VBRGoogleCloudAccount> [-GatewayServer <CHost>]  [<CommonParameters>]

Detailed Description

This cmdlet connects to Google Cloud object storage. You can use these settings to add Google Cloud object storage into your backup infrastructure an object storage repository.

Run the Add-VBRGoogleCloudRepository cmdlet to add Google Cloud as an object storage repository.

Important

This cmdlet connects only the Google Cloud object storage that can be used as a capacity extent of the scale-out backup repository.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Account

Specifies a Google Cloud credentials record. Veeam Backup & Replication will use this credentials record to connect to Google Cloud object storage.

Accepts the VBRGoogleCloudAccount object. To create this object, run the Add-VBRGoogleCloudAccount cmdlet.

True

Named

False

GatewayServer

Specifies a gateway server that you want to use to access Google Cloud object storage.

CHost

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.

Examples

Connecting to Google Cloud Service

This example shows how to connect to Google Cloud object storage.

$account = Get-VBRGoogleCloudAccount -AccessKey "ABCDEFGHIGKLMNOP"

Connect-VBRGoogleCloudService -Account $account

Perform the following steps:

  1. Run the Get-VBRGoogleCloudAccount cmdlet. Specify the AccessKey parameter value. Save the result to the $account variable.
  2. Run the Connect-VBRGoogleCloudService cmdlet. Set the $account variable as the Account parameter value.

Related Commands