Mount-VBRObjectStorageRepository

Short Description

Mounts object storage and archive repositories.

Platform: VMware, Hyper-V

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

Syntax

This cmdlet provides the following parameter sets:

  • ObjectStorageRepository

    Mount-VBRObjectStorageRepository -Repository <VBRObjectStorageRepository> [-EncryptionKey <PSCryptoKey>] [<CommonParameters>]

  • ArchiveObjectStorageRepository

    Mount-VBRObjectStorageRepository -ArchiveRepository <VBRArchiveObjectStorageRepository>

    [-EncryptionKey <PSCryptoKey>] [<CommonParameters>]

Detailed Description

This cmdlet mounts object storage and archive repositories. You can use the mounted object storage to import backups from these object storage.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

ArchiveRepository

Specifies an archive repository. The cmdlet will mount this archive repository.

Accepts the VBRArchiveObjectStorageRepository object. To get this object, run the Get-VBRArchiveObjectStorageRepositoryReturns archive repositories added to the backup infrastructure. cmdlet.

VBRArchiveObjectStorageRepository

True

Named

True (ByPropertyName, ByValue)

EncryptionKey

Specifies an encryption key. The cmdlet will use this key to decrypt data located on an object storage repository.

Accepts the PSCryptoKey object. To get this object, run the Get-VBREncryptionKeyReturns encryption keys. cmdlet.

PSCryptoKey

False

Named

False

Repository

Specifies an object storage repository. The cmdlet will mount this object storage.

Accepts the VBRObjectStorageRepository object. To get this object, run the Get-VBRObjectStorageRepositoryReturns object storage added as backup repositories to Veeam Backup & Replication. cmdlet.

VBRObjectStorageRepository

True

Named

True (ByPropertyName, ByValue)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

This cmdlet returns the VBRObjectStorageRepository object that contains settings of the mounted object storage repositories.

Examples

Mount-VBRObjectStorageRepositoryExample 1. Mounting Object Storage Repository

This example shows how to mount the Amazon OS object storage repository

$repository = Get-VBRObjectStorageRepository -Name "Amazon OS"

Mount-VBRObjectStorageRepository -Repository $repository

Perform the following steps:

  1. Run the Get-VBRObjectStorageRepositoryReturns object storage added as backup repositories to Veeam Backup & Replication. cmdlet. Specify the Name parameter value. Save the result to the $repository variable.
  2. Run the Mount-VBRObjectStorageRepository cmdlet. Set the $repository variable as the Repository parameter value.

Mount-VBRObjectStorageRepositoryExample 2. Mounting Object Storage Repository with Encryption Key

This example shows how to mount the Amazon OS object storage repository. The cmdlet will use the Object Storage Key encryption key to decrypt the data stored on the object storage repository.

$repository = Get-VBRObjectStorageRepository -Name "Amazon OS"

$key = Get-VBREncryptionKey -Description "Object Storage Key"

Mount-VBRObjectStorageRepository -Repository $repository -EncryptionKey $key

Perform the following steps:

  1. Run the Get-VBRObjectStorageRepositoryReturns object storage added as backup repositories to Veeam Backup & Replication. cmdlet. Specify the Name parameter value. Save the result to the $repository variable.
  2. Run the Get-VBREncryptionKeyReturns encryption keys. cmdlet. Specify the Description parameter. Save the result to the $key variable.
  3. Run the Mount-VBRObjectStorageRepository cmdlet. Set the $repository variable as the Repository parameter value. Set the $key variable as the EncryptionKey parameter value.

Page updated 2026-08-19

Page content applies to build 13.1.1.18