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

Import-VBRBackup

Short Description

Imports Veeam backups to Veeam Backup & Replication.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

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

Related Commands

Get-VBRServer

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 Veeam backup console.

To import backups, you must add the server where they are located to Veeam backup console. For information on adding servers, see Servers.

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

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Example 1

This command imports the backup named 'SureBackups' from the server named 'Fileserver'. The target server is obtained with Get-VBRServer and piped down. The file path is C:\Backups\SureBackups, and the file name is 'SureBackups.vbm'.

PS C:\PS> Get-VBRServer –Name “Fileserver” | Import-VBRBackup –FileName “C:\Backups\SureBackups\SureBackups.vbm”

Example 2

This command imports the backup named 'SureBackups' from the server represented by the '$server' variable. The target server is obtained with Get-VBRServer and assigned to the variable beforehand. The file path is C:\Backups\SureBackups, and the file name is 'SureBackups.vbm'.

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