Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
PowerShell Reference

Add-VBRAmazonS3CompatibleRepository

Short Description

Adds S3 Compatible object storage as a backup repository to Veeam Backup & Replication.

Applies to

Platform: VMware, Hyper-V

Product Edition: Enterprise, Enterprise Plus

Syntax

Add-VBRAmazonS3CompatibleRepository -AmazonS3Folder <VBRAmazonS3Folder> -Connection <VBRAmazonS3CompatibleConnection> [-Name <string>] [-Description <string>] [-EnableSizeLimit] [-SizeLimit <int>][<CommonParameters>]

Detailed Description

This cmdlet adds S3 Compatible object storage as a backup repository to Veeam Backup & Replication.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

AmazonS3Folder

Specifies an S3 Compatible folder. Veeam Backup & Replication will move backup files into this folder.

Accepts the VBRAmazonS3Folder type.

True

Named

True (ByValue)

 

Connection

Specifies an active session with an S3 Compatible object storage that you want to add as a backup repository.

True

Named

False

 

Name

Specifies a name of an S3 Compatible object storage that you want to add as a backup repository.

False

Named

False

 

Description

Specifies a description of an S3 Compatible object storage that you want to add as a backup repository

False

Named

False

 

EnableSizeLimit

Indicates that the cmdlet will enable size limits for data blocks that you want to store in an S3 Compatible storage.

Use the SizeLimit parameter to specify the size limits.

False

Named

False

 

SizeLimit

For the EnableSizeLimit parameter

Specifies size limits in GB for data blocks that you want to store in an S3 Compatible object storage added as a backup repository.

Permitted value: 1024 - 1073741824.

Default: 10240.

False

Named

False

 

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

Example

This example shows how to add an S3 Compatible object storage as the backup repository to Veeam Backup & Replication.

  1. Run Get-VBRAmazonAccount to get an Amazon S3 credentials record. Save the result to the $account variable.
  2. Run Connect-VBRAmazonS3CompatibleService with the $account variable to connect to S3 Compatible object storage. Use the ServicePoint parameter to specify the endpoint. Save the result to the $connect variable.
  3. Run Get-VBRAmazonS3Bucket with the $connect variable to get an Amazon S3 bucket. Save the result to the $bucket variable.
  4. Run Get-VBRAmazonS3Folder with the $bucket and the $connect variables to get an Amazon S3 folder. Save the result to the $folder variable.
  5. Run Add-VBRAmazonS3CompatibleRepository with the $connect and the $folder variables.

$account = Get-VBRAmazonAccount

$connect = Connect-VBRAmazonS3CompatibleService -Account $account -CustomRegionId "us-east-1" -ServicePoint "http://123.45.67.89:9000"

$bucket = Get-VBRAmazonS3Bucket -Connection $connect -Name "New Bucket"

$folder = Get-VBRAmazonS3Folder -Name "New Folder" -Bucket $bucket -Connection $connect

Add-VBRAmazonS3CompatibleRepository -AmazonS3Folder $folder -Connection $connect -Name "New Repository"

Related Commands

Get-VBRAmazonAccount

Connect-VBRAmazonS3CompatibleService

Get-VBRAmazonS3Bucket

Get-VBRAmazonS3Folder

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions

Veeam Availability for Nutanix AHV

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation