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
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 | Accept |
Server | Specifies the server where the backups are located. | True | 1 | True (ByValue, | 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'.