Entering content frame

Procedure documentation Recovery After Initializing a Database Instance Locate the document in its SAP Library structure

When you restore data, you may need to initialize the database instance to delete the log entries in the log area. You can then restore the required backups to recover the database instance to a specified state.

You need to use this type of recovery in the following situations:

·        You want to recover a deleted database instance from a backup.

·        You want to use backups from a point in time before you made a recovery with an UNTIL time. (For example, you want to repeat a recovery with an UNTIL time so that you can specify a different time.)

Note

Any backups made before the interruption of the backup history can only be restored with the procedure described here.

Caution

This procedure involves the initialization of the database instance. This is a very lengthy process, which is why you should use this procedure only if absolutely necessary.

Prerequisites

The log files dbm.knl and dbm.mdf exist and are not damaged. This means that the backup history is complete.

The database instance is in the operational state OFFLINE.

Procedure

Open the Installation Wizard. The wizard guides you through the entire process of initializing an existing database instance.

       1.      Enter the name of the database instance. This can be a database instance registered in the Database Manager GUI. In this case, the Database Manager GUI displays a message saying that a database instance with this name already exists.

       2.      Select Reinstall database instance <database_name>. This installs an empty database instance under the existing name (the database instance is initialized).

       3.      Proceed as described under Installing or Initializing a Database Instance (Installation Wizard). Under Use current parameters, the Database Manager proposes the database parameters of this database instance as the parameters for the newly initialized database instance. All data from the old version is lost.

Caution

Afterwards, choose Install instance for recovery (not Install and start instance), since this is the only option that lets you recover the data.

The database instance is in the operational state ADMIN. The Database Manager opens the Recovery Wizard automatically.

The Recovery Wizard always proposes the quickest procedure for recovering lost data. You may need to choose a procedure that is adapted to your situation.

The wizard guides you through the entire process of recovering the database instance. The subsequent recovery steps are described under the relevant recovery procedure.

 

Leaving content frame