Add-VBRIBMCloudRepository
Short Description
Adds the IBM Cloud object storage repository to the backup infrastructure.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Add-VBRIBMCloudRepository [-Name <String>] [-Description <String>] -AmazonS3Folder <VBRAmazonS3Folder> -Connection <VBRAmazonS3CompatibleConnection> [-EnableSizeLimit] [-SizeLimit <Int32>] [-EnableBackupImmutability] [-ImmutabilityMode <VBRRepositoryImmutabilityMode>] [-ImmutabilityPeriod <Int32>] [-MountServerOptions <VBRRepositoryMountServerOptions[]>] [-ProxyAppliance <CHost>] [-EnableConcurrentTasksLimit] [-MaxConcurrentTasks <Int32>] [-ForceOwnershipChange] [-EnableReadOnlyMode] [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet adds the IBM Cloud object storage repository to the backup infrastructure.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AmazonS3Folder |
Specifies an S3 compatible folder. Veeam Backup & Replication will store backup files in this folder.
Accepts the |
True |
Named |
True (ByValue) |
|
|
Connection |
Specifies an active session with S3 compatible object storage. The cmdlet will add it as a backup repository.
Accepts the |
|
True |
Named |
False |
|
Description |
Specifies a description of an object storage repository. The cmdlet will add the object storage repository with this description. |
|
False |
Named |
False |
|
EnableBackupImmutability |
Defines that the cmdlet will enable the immutability option. Default: False. |
|
False |
Named |
False |
|
EnableConcurrentTasksLimit |
Enables limits for concurrent tasks that can be processed by the object storage repository.
Use the
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 data blocks that you want to store in an object storage.
Use the
Default: |
|
False |
Named |
False |
|
Force |
Defines that the cmdlet will add an 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.
Default: |
|
False |
Named |
False |
|
ImmutabilityMode |
Specifies the immutability retention period:
|
|
False |
Named |
False |
|
ImmutabilityPeriod |
Specifies the immutability period in days. Default: 30. |
|
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.
Accepts the |
False |
Named |
True (ByPropertyName) |
|
|
Name |
Specifies a name of an object storage repository. The cmdlet will add the object storage repository with this name. |
|
False |
Named |
False |
|
ProxyAppliance |
Specifies a helper appliance. Veeam Backup & Replication will use this appliance to perform a health check of backup files and apply retention to file backup job files. |
|
False |
Named |
False |
|
SizeLimit |
For the Specifies size limits in GB for data blocks that you want to store in an object storage.
Permitted value:
Default: |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Adding IBM Cloud Object Storage Repository to Backup Infrastructure
|
PS C:\> $account = Get-VBRAmazonAccount $connect = Connect-VBRAmazonS3Service -Account $account[1] -RegionType Global -ServiceType CapacityTier $bucket = Get-VBRAmazonS3Bucket -Connection $connect -Name "Bucket-01" $folder = Get-VBRAmazonS3Folder -Name "bucket" -Bucket $bucket -Connection $connect Add-VBRIBMCloudRepository -Name "IBM Cloud" -Connection $connect -AmazonS3Folder $folder -EnableSizeLimit -SizeLimit 1024 |
This example shows how to add the IBM Cloud object storage repository to the backup infrastructure. The repository will have the following settings:
The object storage limits are enabled and are set to 1024 GB.
The infrequent access storage class is enabled.
Perform the following steps:
1. Run the Get-VBRAmazonAccount cmdlet. Save the result to the $account variable.
2. Run the Connect-VBRAmazonS3Service cmdlet. Specify the Account, RegionType and ServiceType parameter values. Save the result to the $connect variable.
3. Run the Get-VBRAmazonS3Bucket cmdlet. Set the $connect variable as the Connection parameter value. Specify the Name parameter value. Save the result to the $bucket variable.
4. Run the Get-VBRAmazonS3Folder cmdlet. Specify the Name parameter value. Set the $bucket variable as the Bucket parameter value. Set the $connect variable as the Connection parameter value. Save the result to the $folder variable.
5. Run the Add-VBRIBMCloudRepository cmdlet. Specify the following settings:
- Specify the Name parameter value.
- Set the $connect variable as the Connection parameter value.
- Set the $folder variable as the AmazonS3Folder parameter value.
- Provide the EnableSizeLimit parameter.
- Provide the SizeLimit parameter value.
Related Commands
Get-VBRAmazonAccountReturns AWS credentials records.Connect-VBRAmazonS3ServiceConnects to Amazon S3 object storage.Get-VBRAmazonS3BucketReturns Amazon S3 buckets.Get-VBRAmazonS3FolderReturns Amazon S3 folders.