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

Add-VBRAzureBlobRepository

Short Description

Adds Azure Blob object storage as a backup repository to Veeam Backup & Replication.

Applies to

Platform: VMware, Hyper-V

Product Edition:  Enterprise, Enterprise Plus

Syntax

Add-VBRAzureBlobRepository -AzureBlobFolder <VBRAzureBlobFolder> -Connection <VBRAzureBlobConnection> [-Name <string>] [-Description <string>] [-EnableSizeLimit] [-SizeLimit <int>]  [<CommonParameters>]

Detailed Description

This cmdlet adds Azure Blob object storage as a backup repository to Veeam Backup & Replication.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

AzureBlobFolder

Specifies an Azure Blob folder. The cmdlet will move the backup files to the specified folder.

Accepts the VBRAzureBlobFolder type.

True

Named

True (ByValue)

 

Connection

Specifies an active session with Azure Blob object storage that you want to add as the backup repository.

Accepts the VBRAzureBlobConnection type.

True

Named

False

 

Name

Specifies a name of Azure Blob object storage that you want to add as a backup repository.

False

Named

False

 

Description

Specifies a description of Azure Blob object storage that you want to add as a backup repository.

False

Named

False

 

EnableSizeLimit

Indicates that the cmdlet will enable size limits for an Azure Blob object storage that you want to add as a backup repository.

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 Azure Blob 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 Azure Blob object storage as the backup repository to Veeam Backup & Replication.

  1. Run Get-VBRAzureBlobAccount get an Azure Blob credentials record. Save the result to the $account variable.
  2. Run Connect-VBRAzureBlobService with the $account variable to connect to Azure Blob object storage. Save the result to the $connect variable.
  3. Run Get-VBRAzureBlobContainer with the $connection variable to get an Azure Blob container. Save the result to the $container variable.
  4. Run Get-VBRAzureBlobFolder with the $container and the $connect variables to get an Azure Blob folder. Save the result to the $folder variable.
  5. Run Add-VBRAzureBlobRepository with the $folder and $connection variables.

$account = Get-VBRAzureBlobAccount -Name "Azure Blob"

$connect = Connect-VBRAzureBlobService -Account $account -RegionType Global

$container = Get-VBRAzureBlobContainer -Connection $connect

$folder = Get-VBRAzureBlobFolder -Container $container -Connection $connect

Add-VBRAzureBlobRepository -AzureBlobFolder $folder -Connection $connect

Related Commands

Get-VBRAzureBlobAccount

Connect-VBRAzureBlobService

Get-VBRAzureBlobContainer

Get-VBRAzureBlobContainer

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