Get-VBRBackupRepository

In this article

    Short Description

    Returns backup repositories.

    Applies to

    Platform: VMware, Hyper-V

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

    Syntax

    Get-VBRBackupRepository [-Name <string[]>] [-ScaleOut]  [<CommonParameters>]

    Detailed Description

    This cmdlet returns backup repositories managed by Veeam Backup & Replication.

    You can get the list of all backup repositories, get scale-out backup repositories or look for instances directly by name.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Name

    Specifies the array of backup repositories names. The cmdlet will return repositories with these names.

    False

    Named

    False

    True

    ScaleOut

    Indicates that the cmdlet will return only scale-out backup repositories.

    False

    Named

    False

    False

    <CommonParameters>

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

    Return Type

    CBackupRepository

    Example 1

    This command looks for all standalone backup repositories managed by Veeam Backup & Replication.

    Get-VBRBackupRepository

    Example 2

    This command looks for all scale-out backup repositories managed by Veeam Backup & Replication.

    Get-VBRBackupRepository -ScaleOut

    Example 3

    This command looks for the standalone backup repository named "Backups Vol2" and for standalone backup repositories with names starting with "Local".

    Get-VBRBackupRepository -Name "Backups Vol2", "Local*"

    Example 4

    This command looks for scale-out backup repository named 'Veeam Performance Scale-Out Repository'.

    Get-VBRBackupRepository -ScaleOut -Name "Veeam Performance Scale-Out Repository"