Returns active restore sessions started to perform operations with backed-up SAP HANA databases.
Veeam Backup & Replication
Product Edition: Enterprise Plus, Veeam Universal License
Get-VEHANARestoreSession [[-SessionId] <Guid>] [<CommonParameters>]
This cmdlet returns an array of active restore sessions started to perform operations with backed-up SAP HANA databases. Once you select the restore session you need, you can get the backed-up SAP HANA system using the Get-VEHANASystem cmdlet, and then you can get any database on the system with the Get-VEHANADatabase 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.
Accept Pipeline Input
Specifies the session ID of the necessary restore session.
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
The cmdlet returns the VEHANARestoreSession object that contains settings of restore sessions started to explore backed-up SAP HANA databases and to perform operations with SAP HANA databases.
Example 1. Getting All Active Restore Sessions
This command returns all active restore sessions. Save the result to the $session variable to be able to use it with other cmdlets.
Example 2. Getting Restore Session by Session ID
This command returns an SAP HANA restore session with a specific session ID. Save the result to the $session variable to be able to use it with other cmdlets.