To perform a recovery of an SAP HANA backup, you can use an SQL command.
NOTE The SAP HANA Studio GUI is the recommended method to perform a restore and recovery.
To run the recovery SQL command, you must be logged in to the SAP HANA system as the OS user
<SID>adm. In a scale-out multinode environment, you must run the command from the primary node.
The recovery command must first include the
HDBSettings.sh and
recoverSys.py scripts in that order. The
HDBSettings.sh script sets the environment for recovery. The
recoverSys.py script processes the recovery SQL command and performs the database recovery.
The following example command performs a recovery of an SAP HANA backup:
./HDBSettings.sh recoverSys.py --command="recover database until
timestamp '2014-02-28 00:00:00' using data path
('/usr/sap/AAA/SYS/global/hdb/backint/') using log path
('/usr/sap/AAA/SYS/global/hdb/backint/') using BACKUP_ID 1593520382350" --wait
You must include the
--wait option for proper completion of the
recoverSys.py script.
The
SAP HANA Administration Guide provides details about the SQL command syntax of the recovery command.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\