Import-VBRBackup
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 parameter sets that allow you to:
- Import backups from the server.
Import-VBRBackup -Server <CHost> -FileName <String> [<CommonParameters>] |
- 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 | Type | Required | Position | Accept |
---|---|---|---|---|---|
Server | Specifies the target server where you want to store the imported backups. | Accepts the CHost object. To get this object, run the Get-VBRServer cmdlet. | True | 0 | True (ByProperty |
FileName | Specifies the path to the backup you want to import. | String | True | 1 | 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). | Accepts the CBackupRepository object. To get this object, run the GetVBRBackupRepository cmdlet. | True | 2 | True (ByProperty |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRBackup object that defines imported backups imported to Veeam Backup & Replication database.
Examples
Example 1. Importing Backup from Server
This example shows how to import a backup from the server.
Perform the following steps:
|
Example 2. Importing Backup from Repository
This example shows how to import a backup from the repository.
Perform the following steps:
|
Related Commands