In order to recover DB2 database components you must follow the below gives steps such as –
Step 1: Bring, install and launch the DB2 Recovery tool. (note: ignore if already installed)
Step 2: Select from “Repair corrupt DB2 Database stored at default location” and click “OK” button.
- A pop up box will open having list of all DB2 database on default location.
- Open the database by double-click on the name of the DB2 database.
- All recoverable data will be pop up. You can “Preview” before recovery and select only necessary data.
It is the easiest way to recover the corrupted or deleted DB2 database tables and data. Another DB2 Database Recovery mode is “Manual selection of database for recovery”. Under its process you may also recover and repair DB2 database components.