Restart-VEHANADatabaseRestore

Short Description

Restarts a failed restore job for an SAP HANA database.

Applies to

Veeam Backup & Replication

Product Edition: Enterprise Plus, Veeam Universal License

Syntax

Restart-VEHANADatabaseRestore -RestoreJob <VEHANARestore> [<CommonParameters>]

Detailed Description

This cmdlet restarts a failed restore job for an SAP HANA database.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

RestoreJob

Specifies the SAP HANA restore job that you want to restart.

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

True

Named

True (ByValue)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Example

Restarting SAP HANA Restore Process

This example shows how to restart a failed restore job for an SAP HANA database.

$restorejob = Get-VEHANARestoreJob

Restart-VEHANADatabaseRestore -RestoreJob $restorejob[0]

Perform the following steps:

  1. Run the Get-VEHANARestoreJob cmdlet. Save the result to the restorejob variable.

The cmdlet will return an array of restore jobs. Note the ordinal number of the necessary restore job. In our example, it is the first restore job in the array.

  1. Run the Restart-VEHANADatabaseRestore cmdlet. Set the $restorejob variable as the RestoreJob parameter value.

Related Commands

Get-VEHANARestoreJob