You can restore a DB2 database to its current location (in place).
Procedure
-
From the Command Center navigation pane, go to Protect > Databases.
The Overview page appears.
-
On the Instances tab, in the row for the database instance to restore, click the Action button
, and then click Restore.Alternatively, click the instance, and in the Recovery points tiles, select Restore option.
The Backup content page appears.
-
Select the databases to restore, and then click Restore.
The Restore options dialog box appears.
-
Select In place option.
Note
The In place option is selected by default.
-
Select the Redirect option to direct the restore to other database location.
-
Select the Restore database checkbox.
-
Select the Roll forward checkbox to roll forward the logs as part of the restore operation.
From the Roll forward to type list, make the following selections:
-
To roll forward to the end of all the logs, click To end of the logs.
-
To roll forward to a point in time, click Point in time, and then enter the point in time.
-
To roll forward to end the backup, click To end of backup.
If you don't roll forward the logs the target database will be in the rollforward pending state after the restore.
-
-
Select the Alternate log path checkbox, and enter the log path.
-
Select the Overflow Directory checkbox, and enter the workflow directory path.
-
You can proceed the restore without selecting Advance option.
-
If you move the Advanced options toggle key to right, proceed as follows:
-
Select Restore to non-encrypted database checkbox to restore the database to a non-encrypted database.
-
Select the Restore logs checkbox, and then specify the time period of the logs to restore.
-
Select the Restore logs from backup image (use LOGTARGET) checkbox to restore logs from backup image.
-
From the MediaAgent list, select a media agent server name.
-
-
Under Pre or Post options, do the following:
-
In the Pre recovery command box, enter the name or path of the process to run before the restore.
-
In the Post recovery command box, enter the name or path of the process to run after the restore.
-
If you want to initiate the restore as user, move the Run as User toggle button to right.
- In the User name box, enter a user name you want to run the restore with.
-
-
Select the Notify user on job completion checkbox to send a notification email when the restore job is completed.
-
You can configure a schedule to repeat this restore operation. To create a schedule, do the following:
-
Click Schedule.
The Add schedule dialog box appears.
-
In the Name box, type a name for the schedule.
-
Configure the Frequency and Repeat parameters.
-
To specify exceptions to the schedule, click Exceptions.
The Exceptions dialog box appears.
-
Configure the exception parameters:
-
You can click Add Exception to save a set of exception parameters and continue adding sets of exception parameters.
-
Click Save when you have finished configuring the exception parameters.
-
-
Under the Range of recurrence section, specify the Start date and End date to schedule the recurrence range of the restore operation.
-
To save the schedule and return to the restore dialog box, click Schedule.
-
-
Click Submit.