Get-VEHANABackupCatalogItem
Short Description
Returns backup catalog items for a specific SAP HANA database.
Applies to
Veeam Backup & Replication
Product Edition: Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Get an array of backups of a specific database made in a certain time span.
Get-VEHANABackupCatalogItem [-Database] <VEHANADatabase> [[-FromUTC] <DateTime>] [[-ToUTC] <DateTime>] [-Limit <Int64>] [<CommonParameters>] |
- Get the latest backup of a specific database.
Get-VEHANABackupCatalogItem [-Database] <VEHANADatabase> [-Last <SwitchParameter>] [<CommonParameters>] |
Detailed Description
This cmdlet returns an array of backups of a specific SAP HANA database that are stored in a backup repository.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Database | Specifies the database whose backup catalog items you want the cmdlet to return. | Accepts the VEHANADatabase object. To get this object, run the Get-VEHANADatabase cmdlet. | True | 0 | True (ByValue) |
FromUTC | Specifies the point in time that defines the start of the period for which you want to see backup catalog items. Note: Make sure that the value you assign to this parameter is converted to Universal Coordinated Time (UTC). | DateTime | False | 0 | False |
ToUTC | Specifies the point in time that defines the end of the period for which you want to see backup catalog items. Note: Make sure that the value you assign to this parameter is converted to Universal Coordinated Time (UTC). | DateTime | False | 0 | False |
Last | Defines that the cmdlet will only return the latest item in the backup catalog. | SwitchParameter | False | Named | False |
Limit | Limits the number of backup catalog items returned by the cmdlet. | Int64 | 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 VEHANABackupCatalogItem[] object that contains an array of backups for the selected database.
Examples
Example 1. Getting All Backups of a Specific SAP HANA Database
This example returns all backups of a specific SAP HANA database.
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 Backups of a SAP HANA Database made in a Specified Time Frame
This command returns all backups of an SAP HANA database made within the last 30 days.
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 the Latest Backup of a Specific SAP HANA Database
This command returns the latest available backup in the backup catalog of the specified database.
Perform the following steps:
The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore job. In our example, it is the first restore job in the array.
|
Related Commands