DB2 Command Line Example: Recovering a Database by Using the History File

Perform an in-place restore by using the history file.


  • At the DB2 command prompt, type the following command, substituting the database_name database_name with your database name and the history_file with the full path to the history file that you want to restore:

    db2 recover database <database_name> using history file (history_file)

Last modified: 7/10/2018 2:49:20 PM