Restore the SAP HANA SYSTEMDB database.
Before You Begin
-
Perform a SAP HANA full backup on a Multitenant SYSTEMDB database.
-
Stop all tenant databases.
On the command line, type the following command, substituting the tenant_database_name parameter with your value.
hdbsql -U $[user_store_key] “ALTER SYSTEM STOP DATABASE $[tenant_database_name]′′
Procedure
-
On the command line, type the following command.
HDBSettings.sh recoverSys.py
What to Do Next
-
Verify the status of the tenant databases. On the command line, type the following command:
hdbsql -U $[user_store_key] “Select * from M_DATABASES” > $[file_name]
-
View the output file.
-
Start each tenant database. On the command line, type the following command, substituting the tenant_database_name parameter with your value.
hdbsql -U $[user_store_key] “ALTER SYSTEM START DATABASE $[tenant_database_name]′′