Get-VEHANABackup

Short Description

Returns SAP HANA backups stored in a backup repository.

Applies to

Veeam Backup & Replication

Product Edition: Enterprise Plus, Veeam Universal License

Syntax

Get-VEHANABackup [-Name <String[]>] [<CommonParameters>]

Detailed Description

This cmdlet returns an array of SAP HANA backups stored in a backup repository. After you get the backups, you can use the Start-VEHANARestoreSession cmdlet to start a restore session from the specified backup.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Name

Specifies the names of the necessary SAP HANA backups.

String[]

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 IVEHANABackup[] object that contains SAP HANA backup files.

Examples

Get-VEHANABackupExample 1. Getting All SAP HANA Backups

This command returns an array with all SAP HANA backups stored in a backup repository. Save the result to the $backup variable to be able to use it with other cmdlets.

$backup = Get-VEHANABackup

Get-VEHANABackupExample 2. Getting Specific SAP HANA Backups

This command returns an array of SAP HANA backups with the specified names. Save the result to the $backup variable to be able to use it with other cmdlets.

$backup = Get-VEHANABackup -Name "Backup_01"