
Taking information from SAP Note 1869119 – Checking backups with “hdbbackupcheck”
You can use the program hdbbackupcheck to check a part of the backup for changes. A part of a backup is a backup file or a backup object that was transferred from the database to an external backup tool. Note that the data backup of an SAP HANA instance consists of several parts starting with the same prefix. When you check a data backup, you must call “hdbbackupcheck” for each part of the backup.
The program hdbbackupcheck imports the backup, checks the metadata for correctness and consistency, and checks whether the contents have changed.
##Syntax of hdbbackupcheck## hdbbackupcheck [options] <backup> [-i <backupid>] [-e <ebid>] ##Options:## -v: display all known information -p <directory>: use specified directory for protocol files --backintParamFile <filename>: use parameter file specified for a backint call
Example
# hdbbackupcheck -v COMPLETE_DATA_BACKUP_databackup_0_1
Check backup '/ARA/COMPLETE_DATA_BACKUP_databackup_0_1'.
Destination of Type: file, Version: 9
Destination header information:
DatabaseId: 1ab52187-d113-x654-876g-kk55570123g8
InternalStartTime: 1533606238728 / 2018-08-07T01:43:58+00:00
CurrDestInformation: [FILE][/hana/data/ARA/COMPLETE_DATA_BACKUP_databackup_0_1]
backupId: 123456789
ServiceName: indexserver
NumberOfVolumes: 2
HostName: itsiti
VolumeId: 0
DestId: 1
NumberOfDest: 1
SID: ARA
DatabaseName: ARA
HanaVersion: 2.00.024.02.1525857514
HanaWeekstone: 0000.00.0
Architecture: little endian
SrcPoolInformation[0]: [TOPOLOGY] BackupId: 123456789
SrcPoolInformation[1]: [DATABACKUP_INFO] BackupId: 123456789
SrcPoolInformation[2]: [SSFS] BackupId: 123456789
DstPoolInformation[0]: [FILE][/hana/data/ARA/COMPLETE_DATA_BACKUP_databackup_0_1]
Source header information:
SrcType: 4
SourceInformation: [TOPOLOGY]
srcVersion: 2
sourceSize: 920
encryption: NOT ENCRYPTED
Check backup content '[TOPOLOGY]'.
Backup content '[TOPOLOGY]' successfully checked.
Source header information:
SrcType: 10
SourceInformation: [DATABACKUP_INFO]
srcVersion: 1
sourceSize: 463
encryption: NOT ENCRYPTED
Check backup content '[DATABACKUP_INFO]'.
Backup content '[DATABACKUP_INFO]' successfully checked.
Source header information:
SrcType: 7
SourceInformation: [SSFS]
srcVersion: 1
sourceSize: 89
encryption: NOT ENCRYPTED
Check backup content '[SSFS]'.
Backup content '[SSFS]' successfully checked.
Backup '/ARA/COMPLETE_DATA_BACKUP_databackup_0_1' successfully checked.


