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
|
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
To get this object, run the |
True |
Named |
False |
|
|
Type |
Specifies a type of S3 Compatible object storage repository. You can select the following type:
Default: AmazonS3Compatible |
|
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:
- Run the
Get-VBOAmazonS3CompatibleAccountReturns S3 Compatible storage account credentials. cmdlet. Specify theIdparameter value. Save the result to the$accountvariable. - Run the
New-VBOAmazonS3CompatibleConnectionSettingsDefines connection settings to S3 Compatible object storage repository. cmdlet. Set the$accountvariable as theAccountparameter value. Specify theServicePointparameter value. Specify theCustomRegionIdparameter value. Set thetruevalue for theTrustServerCertificateparameter. Save the result to the$connectionvariable. - Run the
Get-VBOAmazonS3BucketReturns Amazon S3 buckets. cmdlet. Specify the necessary parameters. Save the result to the$bucketvariable. - Run the
Get-VBOAmazonS3FolderReturns Amazon S3 folders. cmdlet. Specify the necessary parameters. Save the result to the$foldervariable. - Run the
New-VBOAmazonS3CompatibleObjectStorageSettingscmdlet. Set the$foldervariable as theFolderparameter value. SetAmazonS3Compatibleas theTypeparameter value.
Related Commands
Get-VBOAmazonS3CompatibleAccountReturns S3 Compatible storage account credentials.New-VBOAmazonS3CompatibleConnectionSettingsDefines connection settings to S3 Compatible object storage repository.Get-VBOAmazonS3BucketReturns Amazon S3 buckets.Get-VBOAmazonS3FolderReturns Amazon S3 folders.