Get-VEHANADatabase
Short Description
Returns backed-up SAP HANA databases.
Applies to
Veeam Backup & Replication
Product Edition: Enterprise Plus, Veeam Universal License
Syntax
Get-VEHANADatabase [-System] <VEHANASystem> [-Name <String>] [-Tenant <SwitchParameter>] [<CommonParameters>] |
Detailed Description
This cmdlet returns an array of backed-up databases located on the specified SAP HANA system. After you get the backed-up SAP HANA databases, you can use the Restore-VEHANADatabase cmdlet to restore the SAP HANA databases you need.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
System | Specifies the name of the SAP HANA system that the databases reside on. The cmdlet will return the databases on the specified SAP HANA system. | Accepts the VEHANASystem object. To get this object, run the Get-VEHANASystem cmdlet. | True | 0 | True (ByValue) |
Name | Specifies the name of an SAP HANA database. The cmdlet will return the SAP HANA database with the specified name. | String | False | Named | False |
Tenant | Defines that the cmdlet returns only the tenant databases on the selected SAP HANA system. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Output Object
The cmdlet returns the VEHANADatabase[] object that contains an array of backed-up SAP HANA databases.
Examples
Example 1. Getting all Databases on the Specified System
This example shows how to return all SAP HANA databases on a backed-up SAP HANA system.
Perform the following steps:
The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session. In our example, it is the first restore session in the array.
|
Example 2. Getting all Tenant Databases on the Specified System
This example shows how to return only the tenant databases that reside on the selected SAP HANA system.
Perform the following steps:
The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session. In our example, it is the first restore session in the array.
|
Example 3. Getting SAP HANA Database with Specified Name
This example shows how to get a specific SAP HANA database using its name.
Perform the following steps:
The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session. In our example, it is the first restore session in the array.
|
Related Commands