Library Version 12.1.6.2

Catastrophic Recovery
Prev | Chapter 6. Administrating Berkeley DB SQL Databases | Next

## Catastrophic Recovery

Catastrophic recovery is used when normal recovery is unable to repair a corrupted database. A detailed description of the recovery utility is described at db_recover . This section describes how to use the utility with a SQL database.

The first step in running recovery is to add a DB_CONFIG file to the journal directory. In the file, add the following line:

`add_data_dir ..`

Then execute the following command in the journal directory db_recover -c.

Prev | Up | Next
Data Migration | Home | Database Statistics