Add-VBRS3CompatibleServer

Short Description

Adds S3 compatible object storage as unstructured data source to the inventory.

Note

This cmdlet is available starting from Veeam Backup & Replication 12.1 (build 12.1.0.2131).

Applies to

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

Syntax

Add-VBRS3CompatibleServer -Account <VBRAmazonAccount> -FriendlyName <string> -ServicePoint <string> -CacheRepository <CBackupRepository> [-RegionId <string>] [-ProxyMode {Automatic | SelectedProxy}] [-SelectedProxyServer <VBRNASProxyServer[]>] [-BackupIOControlLevel <VBRUnstructuredBackupIOControlLevel> {Lowest | Low | Medium | High | Highest}] [-BucketName <string>] [-Force]  [<CommonParameters>]

Detailed Description

This cmdlet adds S3 compatible object storage as unstructured data source to the inventory.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Account

Specifies an S3 credentials record. Veeam Backup & Replication will use this credentials record to connect to S3 compatible object storage.

Accepts the VBRAmazonAccount object. To get this object, run the Get-VBRAmazonAccount cmdlet.

True

Named

True (ByValue)

FriendlyName

Specify a name that you want to assign to the object storage.

String

True

Named

False

ServicePoint

Specifies a service point address of object storage.

String

True

Named

False

CacheRepository

Specifies the cache repository. Veeam Backup & Replication will keep the .VCACHE files on this repository.

Accepts the CBackupRepository object. To get this object, run the Get-VBRBackupRepository cmdlet.

False

Named

False

RegionId

Specifies a region.

String

False

Named

False

ProxyMode

Specifies the backup proxy options.

  • Automatic: use this option if you want Veeam Backup & Replication to choose the backup proxy that will process object storage.
  • SelectedProxy: use this option if you want to specify the backup proxy that will process object storage.
    Use the SelectedProxyServer parameter to specify the backup proxy.

VBRNASProxyMode

False

Named

False

SelectedProxyServer

For the SelectedProxy option of the ProxyMode parameter.

Specifies the backup proxy. Veeam Backup & Replication will use this backup proxy to to back up S3 compatible object storage.

Accepts the VBRNASProxyServer[] object. To get this object, run the Get-VBRNASProxyServer cmdlet.

False

Named

False

BackupIOControlLevel

Specifies a speed that Veeam Backup & Replication will use to read data from object storage. You can specify either of the following speed:

  • Lowest
  • Low
  • Medium
  • High
  • Highest

VBRUnstructuredBackupIOControlLevel

False

Named

False

BucketName

Specifies a name of the S3 compatible bucket. The cmdlet will connect to this bucket.

String

False

Named

False

Force

Defines that the cmdlet will add S3 compatible object storage 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

The cmdlet returns the VBRS3CompatibleServer object that contains settings of S3 compatible storage added to the inventory.

Examples

Adding S3 Compatible Storage as Unstructured Data Source

This example shows how to add S3 compatible storage as unstructured data source to the inventory.

$account = Get-VBRAmazonAccount -AccessKey "XXXXXXXX" -Description "S3 account"

$cacherepository = Get-VBRBackupRepository -Name "WinSrv"

Add-VBRS3CompatibleServer -FriendlyName "S3 compatible" -Account $account -ServicePoint "S3.eu.compatible" -CacheRepository $cacherepository

Perform the following steps:

  1. Run the Get-VBRAmazonAccount cmdlet. Specify the AccessKey and Description parameters values. Save the result to the $account variable.
  2. Run the Get-VBRBackupRepository cmdlet. Specify the Name parameter value. Save the result to the $cacherepository variable.
  3. Run the Add-VBRAmazonS3Server cmdlet. Specify the following settings:
  • Specify the FriendlyName parameter value.
  • Set the $account variable as the Account parameter value.
  • Specify the ServicePoint parameter value.
  • Set the $cacherepository variable as the CacheRepository parameter value.

Related Commands

Page updated 4/8/2024

Page content applies to build 12.1.1.56