Add-VBRGoogleCloudRepository
Short Description
Adds the Google Cloud object storage repository to the backup infrastructure.
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] [-EnableColdlineStorageClass] [-EnableBackupImmutability] [-ImmutabilityMode <VBRRepositoryImmutabilityMode>] [-ImmutabilityPeriod <Int32>] [-GoogleProxySpec <VBRGoogleCloudComputeProxyAppliance>] [-MountServerOptions <VBRRepositoryMountServerOptions[]>] [-EnableConcurrentTasksLimit] [-MaxConcurrentTasks <Int32>] [-ForceOwnershipChange] [-EnableReadOnlyMode] [-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 |
|---|---|---|---|---|---|
|
Connection |
Specifies an active session with a Google Cloud object storage that you want to add to the backup infrastructure.
Accepts the |
|
True |
Named |
False |
|
Description |
Specifies a description of a Google Cloud object storage. The cmdlet will add an object storage with this description. |
|
False |
Named |
False |
|
EnableBackupImmutability |
Defines that the cmdlet will enable the immutability option.
Default: |
|
False |
Named |
False |
|
EnableColdlineStorageClass |
Enables the coldline storage class to data blocks that you want to keep in Google Cloud object storage. Use this option if you plan to access your backup data rarely (for example, once a quarter) and plan to store data minimum 90 days. Default: False.
Note: If you do not provide the |
|
False |
Named |
False |
|
EnableConcurrentTasksLimit |
Enables limits for concurrent tasks that can be processed by the object storage repository.
Use the |
|
False |
Named |
False |
|
EnableNearlineStorageClass |
Enables the nearline storage class for optimized archive storage.
Default: |
|
False |
Named |
False |
|
EnableReadOnlyMode |
Defines that the cmdlet will add the object storage repository in the read-only mode. If you enable this option, Veeam Backup & Replication will not write or modify data in the object storage repository. You can use the object storage repository for restore operations only.
Default: |
|
False |
Named |
False |
|
EnableSizeLimit |
Enables size limits for the Google Cloud storage that you want to add as an object storage.
Default:
Note: Use the |
|
False |
Named |
False |
|
Folder |
Specifies a Google Cloud folder. Veeam Backup & Replication will move backup files into this folder.
Accepts the |
True |
Named |
True (ByValue) |
|
|
Force |
Defines that the cmdlet will add ab object storage repository without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
ForceOwnershipChange |
Defines that the cmdlet will force ownership change of the object storage folder. If you do not provide this parameter and the object storage folder is owned by another host, you will not be able to add object storage to the backup infrastructure. |
|
False |
Named |
False |
|
GoogleProxySpec |
Specifies proxy appliance settings for adding object storage repository.
Accepts the |
False |
Named |
False |
|
|
ImmutabilityMode |
Specifies the immutability retention period:
|
|
False |
Named |
False |
|
ImmutabilityPeriod |
Defines the immutability period in days.
Default:
Maximum: |
|
False |
Named |
False |
|
MaxConcurrentTasks |
Specifies a maximum number of concurrent tasks that can be processed at once by the object storage repository. |
|
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. |
False |
Named |
True (ByPropertyName) |
|
|
Name |
Specifies a name of the Google Cloud object storage. The cmdlet will add an object storage with this name. |
|
False |
Named |
False |
|
SizeLimit |
For the 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. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
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:
- Specify Google Cloud connection settings:
- Run the
Get-VBRGoogleCloudAccountReturns Google Cloud credentials records. cmdlet. Specify theAccessKeyparameter value. Save the result to the$accountvariable. - Run the
Connect-VBRGoogleCloudServiceConnects to Google Cloud object storage. cmdlet. Set the$accountvariable as theAccountparameter value. Specify theServiceTypeparameter value. Save the result to the$connectionvariable.
- Run the
- Specify object storage settings:
- Run the
Get-VBRGoogleCloudRegionReturns Google Cloud regions. cmdlet. Set the$connectionvariable as theConnectionparameter value. Save the result to the$regionvariable. - Run the
Get-VBRGoogleCloudBucketReturns Google Cloud buckets. cmdlet. Set the$connectionvariable as theConnectionparameter value. Set the$regionvariable as theRegionparameter value. Specify theNameparameter value. Save the result to the$bucketvariable. - Run the
Get-VBRGoogleCloudFolderReturns Google Cloud folders. cmdlet. Set the$connectionvariable as theConnectionparameter value. Set the$bucketvariable as theBucketparameter value. Specify theNameparameter value. Save the result to the$foldervariable.
- Run the
- Run the
Add-VBRGoogleCloudRepositorycmdlet. Specify the following settings:- Set the
$connectionvariable as theConnectionparameter value. - Set the
$foldervariable as theFolderparameter value. - Specify the
Nameparameter value.
- Set the
Related Commands
Get-VBRGoogleCloudAccountReturns Google Cloud credentials records.Connect-VBRGoogleCloudServiceConnects to Google Cloud object storage.Get-VBRGoogleCloudRegionReturns Google Cloud regions.Get-VBRGoogleCloudBucketReturns Google Cloud buckets.Get-VBRGoogleCloudFolderReturns Google Cloud folders.