Add-VBRGoogleCloudRepository

Short Description

Adds the Google Cloud object storage repository to the backup infrastructure.

Applies to

Platform: VMware, Hyper-V

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

Syntax

Add-VBRGoogleCloudRepository -Folder <VBRGoogleCloudFolder> -Connection <VBRGoogleCloudConnection> [-Name <String>] [-Description <String>] [-EnableSizeLimit] [-SizeLimit <Int32>] [-EnableNearlineStorageClass] [-GoogleProxySpec <VBRGoogleCloudComputeProxyAppliance>] [-MountServerOptions <VBRRepositoryMountServerOptions>] [-Force]  [<CommonParameters>]

Detailed Description

This cmdlet adds the Google Cloud object storage repository to the backup infrastructure.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Folder

Specifies a Google Cloud folder. Veeam Backup & Replication will move backup files into this folder.

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

True

Named

True (ByValue)

Connection

Specifies an active session with a Google Cloud object storage that you want to add to the backup infrastructure.

Accepts the VBRGoogleCloudConnection object. To create this object, run the Connect-VBRGoogleCloudService cmdlet.

True

Named

False

Name

Specifies a name of the Google Cloud object storage. The cmdlet will add an object storage with this name.

String

False

Named

False

Description

Specifies a description of a Google Cloud object storage. The cmdlet will add an object storage with this description.

String

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

Force

Defines that the cmdlet will add ab 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 Microsoft Docs.

Output Object

VBRGoogleCloudRepository

Examples

Adding Google Cloud Repository

This example shows how to add Google Cloud object storage to the backup infrastructure.

$account = Get-VBRGoogleCloudAccount -AccessKey "XXXXXXXXXXXXXXXXXXX"

$connection = Connect-VBRGoogleCloudService -Account $account -ServiceType CapacityTier

$region = Get-VBRGoogleCloudRegion -Connection $connection

$bucket = Get-VBRGoogleCloudBucket -Connection $connection -Region $region -Name "bucket01"

$folder = Get-VBRGoogleCloudFolder -Connection $connection -Bucket $bucket -Name "veeam"

Add-VBRGoogleCloudRepository -Connection $connection -Folder $folder -Name "Repository09"

Perform the following steps:

  1. Specify Google Cloud connection settings:
  1. Run the Get-VBRGoogleCloudAccount cmdlet. Specify the AccessKey parameter value. Save the result to the $account variable.
  2. Run the Connect-VBRGoogleCloudService cmdlet. Specify the Account and the ServiceType parameter value. Save the result to the $connection variable.
  1. Specify object storage settings:
  1. Run the Get-VBRGoogleCloudRegion cmdlet. Specify the Connection parameter value. Save the result to the $region variable.
  2. Run the Get-VBRGoogleCloudBucket cmdlet. Specify the Connection, Region and Name parameter values. Save the result to the $bucket variable.
  3. Run the Get-VBRGoogleCloudFolder cmdlet. Specify the Connection, Bucket and Name parameter values. Save the result to the $folder variable.
  1. Run the Add-VBRGoogleCloudRepository cmdlet. Specify the following settings:
  • Set the $connection variable as the Connection parameter value.
  • Set the $folder variable as the Folder parameter value.
  • Specify the Name parameter value.

Related Commands

Page updated 3/11/2024

Page content applies to build 12.1.1.56