Zero Downtime Option for SAP Business Suite

Restoring Table Content in the SAP HANA Repository 1.0

This section deals with the option to restore table content in the SAP HANA repository 1.0.

Context

The ZDO of SUM offers the option to reset native SAP HANA database objects. After the reset, you must restore your SAP HANA Transport Container (HTC) content, to import from the specified folder the content of all database tables of the _SYS_BIC schema.

Proceed as follows:

Procedure

  1. Open the SAP HANA Studio and log in with the SYSTEM user to the system on the database and the tenant where you want to import the table data.
  2. Open the SQL console in the database schema _SYS_BIC.
  3. To get the list of all table names, enter the following statement:

    select TABLE_NAME from tables where SCHEMA_NAME='_SYS_BIC' and is_user_defined_type='FALSE';

  4. For each table, truncate the data before importing the old data by entering the following command: truncate table <table_name>;
  5. For each table, import the data from the location where you have previously saved the data of this table by entering the following command:

    import <table_name> from '<folder_name>' with data only;