New-VBOAmazonS3CompatibleObjectStorageSettings

Short Description

Defines the S3 Compatible object storage repository settings.

Syntax

New-VBOAmazonS3CompatibleObjectStorageSettings -Folder <VBOAmazonS3Folder>

[-Type <AddAmazonS3CompatibleObjectStorageType>] [<CommonParameters>]

Detailed Description

This cmdlet creates the VBOAmazonS3ObjectStorageRepository object. This object contains settings of S3 Compatible object storage repository, IBM Cloud Object Storage or Wasabi Cloud Object Storage.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Folder

Specifies an S3 Compatible folder. Veeam Backup for Microsoft 365 will save backups or backup copies to the specified folder.

Accepts the VBOAmazonS3Folder object.

To get this object, run the Get-VBOAmazonS3FolderReturns Amazon S3 folders. cmdlet.

VBOAmazonS3Folder

True

Named

False

Type

Specifies a type of S3 Compatible object storage repository. You can select the following type:

  • AmazonS3Compatible
  • IBMCloud
  • WasabiCloud

Default: AmazonS3Compatible

AddAmazonS3CompatibleObjectStorageType

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.

Output Object

The cmdlet returns the VBOAmazonS3ObjectStorageRepository object that contains settings of S3 Compatible object storage repository.

Examples

Defining S3 Compatible Object Storage Settings

This example shows how to define settings for S3 Compatible object storage repository.

$account = Get-VBOAmazonS3CompatibleAccount -Id 1dfc5af0-2605-47ac-94d8-13dea4d14608

$connection = New-VBOAmazonS3CompatibleConnectionSettings -Account $account -ServicePoint "172.17.186.13:9000" -CustomRegionId eu-north-1 -TrustServerCertificate:$true

$bucket = Get-VBOAmazonS3Bucket -AmazonS3CompatibleConnectionSettings $connection -Name "BucketName"

$folder = Get-VBOAmazonS3Folder -Bucket $bucket -Name "FolderName"

New-VBOAmazonS3CompatibleObjectStorageSettings -Folder $folder -Type AmazonS3Compatible

Perform the following steps:

  1. Run the Get-VBOAmazonS3CompatibleAccountReturns S3 Compatible storage account credentials. cmdlet. Specify the Id parameter value. Save the result to the $account variable.
  2. Run the New-VBOAmazonS3CompatibleConnectionSettingsDefines connection settings to S3 Compatible object storage repository. cmdlet. Set the $account variable as the Account parameter value. Specify the ServicePoint parameter value. Specify the CustomRegionId parameter value. Set the true value for the TrustServerCertificate parameter. Save the result to the $connection variable.
  3. Run the Get-VBOAmazonS3BucketReturns Amazon S3 buckets. cmdlet. Specify the necessary parameters. Save the result to the $bucket variable.
  4. Run the Get-VBOAmazonS3FolderReturns Amazon S3 folders. cmdlet. Specify the necessary parameters. Save the result to the $folder variable.
  5. Run the New-VBOAmazonS3CompatibleObjectStorageSettings cmdlet. Set the $folder variable as the Folder parameter value. Set AmazonS3Compatible as the Type parameter value.

Page updated 2026-08-21

Page content applies to build 8.6.0.1102