Get-VEHANARestoreJobActionLogItems
Short Description
Returns action log items for an SAP HANA restore job.
Product: Veeam Backup & Replication
Product Edition: Enterprise Plus, Veeam Universal License
Syntax
|
Get-VEHANARestoreJobActionLogItems [-Session] <VEHANARestoreSession> -RestoreJob <VEHANARestore> [<CommonParameters>] |
Detailed Description
This cmdlet returns action log items for a specific SAP HANA restore job, giving you a detailed overview of the restore process.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
RestoreJob |
Specifies an SAP HANA restore job. The cmdlet will return information about the specified restore job.
Accepts the |
True |
Named |
True (ByValue) |
|
|
Session |
Specifies the restore session in which the restore job was started.
Accepts the |
True |
0 |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VEHANARestoreActionLogItem[]object that contains information about the SAP HANA restore job.
Examples
Getting Action Log Items for Specific Restore Job
This example gets action log items for the specified restore job.
|
$session = Get-VEHANARestoreSession $system = Get-VEHANASystem $session[0] $database = (Get-VEHANADatabase $system)[0] $restorejob = Start-VEHANADatabaseRestore -Database $database Get-VEHANARestoreJobActionLogItems -Session $session -RestoreJob $restoreJob |
Perform the following steps:
- Run the
Get-VEHANARestoreSessionReturns active restore sessions started to perform operations with backed-up SAP HANA databases. cmdlet. Save the result to the$sessionvariable.The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session. In this example, it is the first restore session in the array.
- Run the
Get-VEHANASystemReturns information about a backed-up SAP HANA system. cmdlet. Set the first restore session in the$sessionvariable as theSessionparameter value. - Run the
Get-VEHANADatabaseReturns backed-up SAP HANA databases. cmdlet and set the$systemvariable as theSystemparameter value. Select the necessary database returned by this command and save it to the$databasevariable. In this example, it is the first database in the array. - Run the
Start-VEHANADatabaseRestoreRestores a backed-up SAP HANA database. cmdlet and set the$databasevariable as theDatabaseparameter value. Save the result to the$restorejobvariable. - Run the
Get-VEHANARestoreJobActionLogItemscmdlet. Set the$sessionvariable as theSessionparameter value and set the$restorejobvariable as theRestoreJobparameter value.
Related Commands
Get-VEHANARestoreSessionReturns active restore sessions started to perform operations with backed-up SAP HANA databases.Get-VEHANASystemReturns information about a backed-up SAP HANA system.Get-VEHANADatabaseReturns backed-up SAP HANA databases.Start-VEHANADatabaseRestoreRestores a backed-up SAP HANA database.