Connect-VBRGoogleCloudService
Short Description
Connects to Google Cloud object storage.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Connect-VBRGoogleCloudService -Account <VBRGoogleCloudAccount> -ServiceType <VBRGoogleCloudServiceType> [-GatewayServer <CHost[]>] [-ConnectionType <VBRRepositoryConnectionType>] [<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-VBRGoogleCloudRepositoryAdds the Google Cloud object storage repository to the backup infrastructure. cmdlet to add Google Cloud as an object storage repository.
Note |
|
Consider the following:
|
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 |
|
True |
Named |
False |
|
ConnectionType |
Specifies how Veeam Backup & Replication will access the object storage repository:
Default: |
|
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. |
|
False |
Named |
False |
|
ServiceType |
Specifies the type of the backup repository. The cmdlet will add the object storage as the specified type of the backup repository to the backup infrastructure.
|
|
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see 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 -ServiceType ExternalRepository |
Perform the following steps:
- Run the
Get-VBRGoogleCloudAccountReturns Google Cloud credentials records. cmdlet. Specify theAccessKeyparameter value. Save the result to the$accountvariable. - Run the
Connect-VBRGoogleCloudServicecmdlet. Set the$accountvariable as theAccountparameter value. Set theExternalRepositoryvalue for theServiceTypeparameter value.
Related Commands
Get-VBRGoogleCloudAccountReturns Google Cloud credentials records.Add-VBRGoogleCloudRepositoryAdds the Google Cloud object storage repository to the backup infrastructure.