Mount-VBRObjectStorageRepository

Short Description

Mounts an object storage repositories.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

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

Detailed Description

This cmdlet mounts an object storage repository. You can use the mounted object storage to import backups from these object storage.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Repository

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

Accepts the VBRObjectStorageRepository object. To get this object, run the Get-VBRObjectStorageRepository cmdlet.

True

Named

True (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-VBREncryptionKey cmdlet.

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of 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-VBRObjectStorageRepository 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-VBRObjectStorageRepository cmdlet. Specify the Name parameter value. Save the result to the $repository variable.
  2. Run the Get-VBREncryptionKey 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.

Related Commands

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.