Add-VBRGoogleCloudRepository

In this article

    Short Description

    Adds Google Cloud object storage repository to the backup infrastructure.

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

    Syntax

    Add-VBRGoogleCloudRepository -Folder <VBRGoogleCloudFolder> -Connection <VBRGoogleCloudConnection> [-Name <string>] [-Description <string>] [-EnableSizeLimit] [-SizeLimit <int>] [-EnableNearlineStorageClass] [<CommonParameters>]

    Detailed Description

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

    Important

    This cmdlet adds only to 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

    Folder

    Specifies an 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 an 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:

    SwitchParameter

    False

    Named

    False

    SizeLimit

    For the EnableSizeLimit parameter.

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

    Default:

    Int

    False

    Named

    False

    EnableNearlineStorageClass

    Enables the 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

    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

    $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 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 Name, Connection and Region parameter values. Save the result to the $bucket variable.
    3. Run the Get-VBRGoogleCloudFolder cmdlet. Specify the Name, Connection and Bucket 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

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.