Publish-VBRBackupContent
Short Description
Mounts the content of backup files using the iSCSI protocol.
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Publish-VBRBackupContent [-RestorePoint] <COib> [-AllowedIps <string[]>] [-DiskNames <string[]>] [-RunAsync][-TargetServerName <string>] [-TargetServerCredentials <CCredentials>] [-MountHostId <guid>] [-Reason <string>][<CommonParameters>] |
Detailed Description
This cmdlet mounts the content of backup files using the iSCSI protocol. You can mount the following types of backed-up data:
- VM backups
- VM replicas
- VM disks
The following environments and backup solutions are supported:
- Hyper-V
- VMWare
- Veeam Agent For Windows
- Veeam Agent For Linux
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
RestorePoint | Specifies a restore point. The cmdlet will mount the content of backup files from this restore point. | Accepts the COib object. To get this object, run the Get-VBRRestorePoint cmdlet. | True | 0 | True (ByValue, ByPropertyName) |
AllowedIps | Specifies an array of IP addresses for iSCSI target servers that are allowed to access the content of the backup. Note: This parameter is required if you do not specify the TargetServerName parameter. | String[] | False | Named | False |
DiskNames | Specifies a VM disk name. The cmdlet will mount that VM disk to the iSCSI target server. | String[] | False | Named | False |
RunAsync | Indicates that the command returns immediately without waiting for the task to complete. | SwitchParameter | False | Named | False |
TargetServerName | Specifies a name of the iSCSI target mount server. The cmdlet will mount the content of backup files to that server. Note: Mind the following:
| String | False | Named | False |
TargetServerCredentials | Specifies credentials that Veeam Backup & Replication will use to authenticate against the iSCSI target server. | CCredentials | False | Named | False |
MountHostId | Specifies the mount host ID. Veeam Backup & Replication will use this ID to mount the content of a backup to the iSCSI target server. | Guid | False | Named | False |
Reason | Specifies a reason for mounting the backup files content. | String | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
The cmdlet returns the VBRBackupContent object that contains settings of mounted backed-up files.
Examples
Example 1. Mounting Backed-up Files to iSCSI Target Server With Specific IP
This example shows how to mount backed-up files to the 198.51.100.0 iSCSI target server.
Perform the following steps:
|
Example 2. Mounting Backed-up Files to iSCSI Target Mount Server
This example shows how to mount backed-up files to the WinSrv2049 iSCSI target server.
Perform the following steps:
|
Related Commands