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 parameter sets that allow you to:

  • Restore to original NDMP server.

Start-VBRNDMPVolumeRestore -RestorePoint <VBRNDMPVolumeRestorePoint> -ToOriginalLocation [-RunAsync]  [<CommonParameters>]

  • Restore to another NDMP server.

Start-VBRNDMPVolumeRestore -RestorePoint <VBRNDMPVolumeRestorePoint> -Server <VBRNDMPServer> -Path <String> [-PreserveFolderHierarchy] [-RunAsync]  [<CommonParameters>]

Detailed Description

This cmdlet restores data from the tape device to an NDMP server.

Start-VBRNDMPVolumeRestore Note:

You can restore entire volumes only.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

RestorePoint

Specifies the restore point to which you want to restore the selected volume.

Accepts the VBRNDMPVolumeRestorePoint object. To get this object, run the Get-VBRNDMPVolumeRestorePoint cmdlet.

True

Named

False

ToOriginalLocation

Defines that the cmdlet will start the restore to the original NDMP server.

SwitchParameter

True

Named

False

Server

For restore to another location.

Specifies the target NDMP server. Veeam Backup & Replication will restore the volumes to that server.

Accepts the VBRNDMPServer object. To get this object, run the Get-VBRNDMPServer cmdlet.

True

Named

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.

String

True

Named

False

PreserveFolderHierarchy

For restore to another location.

Defines that Veeam Backup & Replication will preserve folder hierarchy.

SwitchParameter

False

Named

False

RunAsync

Defines that the command returns immediately without waiting for the task to complete.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

The cmdlet returns the CRestoreSession object that contains the restore session details.

Examples

Start-VBRNDMPVolumeRestoreExample 1. Restoring Data from Tape to Original NDMP Server [Using Variable]

This example shows how to restore data from tape to an original NDMP server.

$volume = Get-VBRNDMPVolume -Name "/svm-cifs/Exhcange_vol"

$restorepoint = Get-VBRNDMPVolumeRestorePoint -Volume $volume

Start-VBRNDMPVolumeRestore -RestorePoint $restorepoint -ToOriginalLocation

Perform the following steps:

  1. Run the Get-VBRNDMPVolume cmdlet. Specify the Name parameter value. Save the result to the $volume variable.
  2. Run the Get-VBRNDMPVolumeRestorePoint cmdlet. Set the $volume variable as the Volume parameter value.
  3. Run the Start-VBRNDMPVolumeRestore cmdlet. Set the $restorepoint variable as the RestorePoint parameter value. Provide the ToOriginalLocation parameter.

Start-VBRNDMPVolumeRestoreExample 2. Restoring Data from Tape to Another NDMP Server [Using Variable]

This example shows how to restore data from tape to another NDMP server named NetApp.tech.local.

$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"

Perform the following steps:

  1. Run the Get-VBRNDMPVolume cmdlet. Specify the Name parameter value. Save the result to the $volume variable.
  2. Run the Get-VBRNDMPVolumeRestorePoint cmdlet. Set the $volume variable as the Volume parameter value.
  1. Run the Get-VBRNDMPServer cmdlet. Specify the Name parameter value. Save the result to the $ndmpserver variable.
  1. Run the Start-VBRNDMPVolumeRestore cmdlet. Set the $restorepoint variable as the RestorePoint parameter value. Set the $ndmpserver variable as the Server parameter value. Specify the Path parameter value.

Related Commands

Page updated 4/12/2024

Page content applies to build 12.2.0.334