Loading...

HDBSettings.sh Example: Performing SAP HANA DATA Only Restores

Restore the SAP HANA data and discard the log segments by using HDBSettings.sh.

Before You Begin

  1. Create the hbduserstore key.
  2. Log on to the database with the key.
  3. Perform a SAP HANA complete data backup.
  4. Clear the log segments.

Procedure

  • On the command line, type the following command substituting the backup prefix and data file from the backup.

    HDBSettings.sh recoverSys.py --command="RECOVER DATA USING BACKINT ('backup_prefix_COMPLETE_DATA_BACKUP') CLEAR LOG" --wait --timeout=600

Example

Restore the backup with the prefix called '2014_09_16:12:09_COMPLETE_DATA_BACKUP'.

Last modified: 6/26/2018 2:53:48 PM