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.


  • 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