Start-VBRNDMPVolumeRestore
Short Description
Restores data from tape to an NDMP server.
Applies to
Product Edition: Enterprise
Requires Cloud Connect license
Syntax
This cmdlet provides the following parameter sets:
- For restoring to original NDMP server
Start-VBRNDMPVolumeRestore -RestorePoint <VBRNDMPVolumeRestorePoint> -ToOriginalLocation [-RunAsync][<CommonParameters>] |
- For restoring to another NDMP server
Start-VBRNDMPVolumeRestore -RestorePoint <VBRNDMPVolumeRestorePoint> -Server <VBRNDMPServer> -Path <String> [-PreserveFolderHierarchy [<SwitchParameter>]] [-RunAsync [<SwitchParameter>]] [<CommonParameters>] |
Detailed Description
This cmdlet restores data from the tape device to an NDMP server.
|
You can restore entire volumes only. |
Parameters
Parameter | Description | Required | Position | Accept | Accept |
RestorePoint | Specifies the restore point to which you want to restore the selected volume. Accepts the VBRNDMPVolumeRestorePoint type. | True | Named | False | False |
ToOriginalLocation | Indicates that the cmdlet will start the restore to the original NDMP server. | True | Named | False | False |
Server | For restore to another location. Specifies the target NDMP server. Veeam Backup & Replication will restore the volumes to that server. | True | Named | False | False |
Path | For restore to another location Specifies the path to the volume on the target NDMP server. Veeam Backup & Replication will restore the data to that volume. | True | Named | False | False |
Preserve | For restore to another location. Indicates that Veeam Backup & Replication will preserve folder hierarchy. | False | Named | False | False |
RunAsync | Indicates that the command returns immediately without waiting for the task to complete. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
Example 1
This example shows how to restore data from tape to an original NDMP server.
- Run Get-VBRNDMPVolume to get the NDMP server volume that you want to restore. Save the result to the $volume variable.
- Run Get-VBRNDMPVolumeRestorePoint to specify the restore point to which you want to restore the volume. Save the result to the $restorepoint variable.
- Run Start-VBRNDMPVolumeRestore with the $volume and $restorepoint variables.
$volume = Get-VBRNDMPVolume -Name "/svm-cifs/Exhcange_vol" $restorepoint = Get-VBRNDMPVolumeRestorePoint -Volume $volume Start-VBRNDMPVolumeRestore -RestorePoint $restorepoint -ToOriginalLocation |
Example 2
This example shows how to restore data from tape to another NDMP server.
- Run Get-VBRNDMPVolume to specify the NDMP server volume that you want to restore. Save the result to the $volume variable.
- Run Get-VBRNDMPVolumeRestorePoint to specify the restore point of the volume that you want to restore. Save the result to the $restorepoint variable.
- Run Get-VBRNDMPServer to specify the target NDMP server. Save the result to the $ndmpserver variable.
- Run Start-VBRNDMPVolumeRestore with the $volume, $ndmpserver and $restorepoint variables. Use the Path parameter to specify the path to the volume on the target NDMP server.
$volume = Get-VBRNDMPVolume -Name "/svm-cifs/Exhcange_vol" $restorepoint = Get-VBRNDMPVolumeRestorePoint -Volume $volume $ndmpserver = Get-VBRNDMPServer -Name "NetApp.tech.local" Start-VBRNDMPVolumeRestore -RestorePoint $restorepoint -Server $ndmpserver -Path "/svm-cifs/ks_tapes" |
Related Commands