Restoring a DB2 Encryption Key Out-of-place

You can browse backed up data to run an out-of-place DB2 encryption key restore operation.

The encryption key restore is applicable only when the source database is encrypted, Enable DB2 encryption keys backup option is set to true and the encryption keys backups are available.

Procedure

  1. From the Command Center navigation pane, go to Protect > Databases.

    The Overview page appears.

  2. On the Instances tab, in the row for the database instance to restore, click the Action button action_button, and then click Restore.

    Alternatively, click the instance, and in the Recovery points tiles, select Restore option.

    The Backup content page appears.

  3. Select the databases to restore, and then click Restore.

    The Restore options dialog box appears.

  4. Select Out of place option.

  5. From the Restore type list, select Cross Instance Restore.

  6. From the Destination server list, select a destination server where you want to restore.

  7. From the Destination instance list, select a destination instance.

  8. In the Target database name box, enter a name for the restored database.

  9. To define the path for the target database, in the Target database path box, enter the full path to the location of the target database.

  10. Optional: Click Redirect to redirect table spaces for a non-automatic database or to redirect storage groups for an automatic or mixed database.

    The Redirect path options dialog box appears. Complete the steps for the type of redirect operation you want:

    1. To redirect all table spaces, on the Tablespaces tab click Redirect all tablespaces, and then in the box enter the full path for the location of the table spaces.

    2. To redirect only some table spaces and containers, click Tablespaces and containers.

    3. To redirect storage groups, on the Storage groups tab expand a storage group name, and then in the Paths text boxes change the paths to the new locations for the storage group.

    4. Click Save.

  11. Move the Advanced options toggle key to right.

  12. Select Restore encryption keys checkbox to restore the encryption keys, and transfer the encryption key to the target system.

+13. From the From time and To time calendar, specify a time period for which you want to restore the encryption keys.

/// note | Note All encryption keys backed up during the specified period are transferred to the destination instance. ///

  1. 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 key to right.

      • In the User name box, enter a user name you want to run the restore with.
  2. Select the Notify user on job completion checkbox to send a notification email when the restore job is completed.

  3. You can configure a schedule to repeat this restore operation. To create a schedule, do the following:

    1. Click Schedule.

      The Add schedule dialog box appears.

    2. In the Name box, type a name for the schedule.

    3. Configure the Frequency and Repeat parameters.

    4. To specify exceptions to the schedule, click Exceptions.

      The Exceptions dialog box appears.

    5. 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.

    6. Under the Range of recurrence section, specify the Start date and End date to schedule the recurrence range of the restore operation.

    7. To save the schedule and return to the restore dialog box, click Schedule.

  4. Click Submit.

Viewing and Editing Database Restore Schedule.

Page contents

×

Loading...