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

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

Procedure

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

Page contents

×

Loading...