Entering content frame

 Restoring After Initializing a Database Instance 

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.)

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

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 OFFLINE operational state.

Procedure

The general procedure for initializing a database instance is described under Initializing a Database Instance in Creating or Initializing a Database Instance. Note the following points:

·        Select the required database instance in the list of database instances in the Database Manager GUI.

·        Select Initialize the database instance <database_name>. An empty database instance is created under the existing name (the database instance is initialized).

·        Under Use current parameters, the Database Manager proposes the database parameters of the database instance as the parameters for the new database instance. All data from the old version is lost.

Afterwards, choose Create instance for recovery (not Create 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