This is an archive version of the document. To get the most up-to-date information, see the current version.

Apply-VBRLocation

Short Description

Assigns geographical locations to Veeam Backup & Replication infrastructure components.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Apply-VBRLocation -Object <Object[]> -Location <VBRLocation>  [<CommonParameters>]

Detailed Description

This cmdlet assigns geographical locations to Veeam Backup & Replication infrastructure components.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Object

Specifies the array of the infrastructure components. The cmdlet will assign a location to these components.

Accepts the following types:

  • CBackupRepository (backup repository)

True

Named

True (ByProperty
Name)

False

Location

Specifies the location you want to assign to the infrastructure components.

True

Named

True (ByProperty
Name)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Example

This example shows how to assign a selected location to a backup repository and an ESXi host.

You will need to perform the following steps:

  1. Get the infrastructure components to which you want to assign a location:
  1. Get the location you want to assign to the infrastructure components. To do this, run Get-VBRLocation and save the result to the $loc variable.
  2. Run Apply-VBRLocation to assign the location.

$rep = Get-VBRBackupRepository -Name "North Repository"

$esxi = Find-VBRViEntity -Name team.support.north

$loc = Get-VBRLocation -Name "ABC North"

Apply-VBRLocation -Objects $esxi, $rep -Location $loc

Related Commands

Get-VBRBackupRepository

Find-VBRViEntity

Get-VBRLocation

I want to report a typo

There is a misspelling right here:

 

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