Import-VBRBackup

In this article

    Short Description

    Imports Veeam backups to Veeam Backup & Replication.

    Applies to

    Platform: VMware, Hyper-V

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

    Syntax

    This cmdlet provides 2 parameter sets.

    • To import backups from the server:

    Import-VBRBackup [-Server] <CHost> [-FileName] <String> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

    • To import backups from the repository:

    Import-VBRBackup [-FileName] <String> [-Repository] <CBackupRepository> [<CommonParameters>]

    Detailed Description

    This cmdlet imports Veeam backups to Veeam Backup & Replication database. You can import Veeam backups that were, for example, created on other Veeam backup servers or stored on a repository that is newly added to the Veeam Backup & Replication console.

    The imported backups are registered in Veeam Backup database. You can use them for any restore operation.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Server

    Specifies the server where the backups are located.

    True

    1

    True (ByValue,
    ByProperty
    Name)

    False

    FileName

    Specifies the path to the backup you want to import.

    True

    2

    False

    False

    Repository

    Specifies the repository where backups are located. You can use the parameter for all types of repositories, including CIFS (SMB) Share and deduplicating storage appliance (Dell EMS Data Domain, ExaGrid, HPE StoreOnce).

    True

    3

    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 1

    This example shows how to import a backup from the server.

    You will need to perform the following steps:

    1. Run Get-VBRServer to get the server where the backups are located. Save the result to the $server variable.
    2. Run Import-VBRBackup with the $server variable. Use the FileName parameter to specify the path to the backup you want to import.

    $server = Get-VBRServer –Name "Fileserver"

    Import-VBRBackup -Server $server –FileName “C:\Backups\SureBackups\SureBackups.vbm”

    Example 2

    This example shows how to import a backup from the repository.

    You will need to perform the following steps:

    1. Run Get-VBRBackupRepository to get the repository where the backups are located. Save the result to the $repository variable.
    2. Run Import-VBRBackup with the $repository variable. Use the FileName parameter to specify the path to the backup you want to import.

    $repository = Get-VBRBackupRepository -Name "StoreOnce"

    Import-VBRbackup -FileName "StoreOnce://10.0.0.1:Backup_Store@/Backup_Job/Backup_Job.vbk" -Repository $repository

    Related Commands

    Get-VBRServer

    Get-VBRBackupRepository

    I want to report a typo

    There is a misspelling right here:

     

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