Get-VEHANADatabaseRestore
Short Description
Returns active SAP HANA restore jobs.
Product: Veeam Backup & Replication
Product Edition: Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
ByIdParameterSetGet-VEHANADatabaseRestore -JobId <Guid> [<CommonParameters>]
-
AllParameterSetGet-VEHANADatabaseRestore [-DatabaseName <String>] [<CommonParameters>]
Detailed Description
This cmdlet returns an array of ongoing SAP HANA restore jobs. After you specify the restore job you need, you can use the Get-VEHANARestoreJobActionLogItemsReturns action log items for an SAP HANA restore job. cmdlet to get an overview of the restore process. You can also stop the restore process with the Stop-VEHANADatabaseRestoreStops the restore process for a backed-up SAP HANA database. cmdlet or restart a failed restore job using the Restart-VEHANADatabaseRestoreRestarts a failed restore job for an SAP HANA database. cmdlet.
Note the difference between a restore session and a restore job. A restore session is a preliminary step where Veeam Explorer for SAP HANA has retrieved the backup from the backup repository, pending restore operations. A restore job is the process of restoring data from the backup to the target SAP HANA system.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
DatabaseName |
Specifies the name of a restored SAP HANA database. The cmdlet will return information about the restore process performed for the specified database. |
|
False |
Named |
False |
|
JobId |
Specifies the job ID of the required restore job. The cmdlet will return information about the restore process performed for the specified database. |
|
True |
Named |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Docs.
Output Object
The cmdlet returns the VEHANARestore[] array that contains information about ongoing SAP HANA restore jobs.
Examples
Example 1. Getting All Active Restore Jobs
|
This command gets all running restore jobs. Save the result to the
|
Example 2. Getting Restore Job by Job ID
|
This example shows how to get a specific restore job by its job ID.
Perform the following steps:
|
Example 3. Getting Restore Job by Database Name
|
This example shows how to get a specific restore job by its database name.
Perform the following steps:
|
Notes
Get-VEHANADatabaseRestore replaces the deprecated cmdlet Get-VEHANARestoreJob. The old cmdlet still works (as an alias of the new cmdlet, with identical functionality), but it may be removed in a future version.
Related Commands
Restart-VEHANADatabaseRestoreRestarts a failed restore job for an SAP HANA database.Stop-VEHANADatabaseRestoreStops the restore process for a backed-up SAP HANA database.