Resynchronizing a database to a snapshot

Resynchronizing your database to a snapshot, also known as reverse resynchronization, reverts your database to a snapshot. Use this option if your database becomes corrupted and you need to restore your database to a previous point-in-time.

Prerequisites

  • You must be logged in as the DB2 database administrator.

  • You must shut down the primary database and the clone database; also, unmount the file systems.

Usage notes

  • See the db2ed_vmsnap(1M) manual page for more information.

To resynchronize a database to a snapshot

  1. Click a snapplan, located under the Snapplans icon, in the object tree. (You may need to expand the tree view to find the icon.)

  2. Access the Reverse Resync wizard.

    See Accessing FlashSnap tasks in the Java GUI.

    See Accessing database tasks in the Web GUI.

  3. Verify the Database name and snapplan information. These are read-only fields.

  4. Click the Begin button, then click Finish to start the reverse resynchronization process. To view details, click the Show details checkbox. The details are displayed in a pop-up window.

  5. At the confirmation prompt, click Yes to continue.

    The Begin option performs the following actions:

    • Imports the disk group that was deported from the secondary host and joins it back to the original disk group.

    • Mounts the snapshot volumes.

    • Mounts the file systems that are configured for the primary database.

    • Brings up the database snapshot image as the primary database.

    The primary database must be offline to perform this action.

  6. If the begin action was successful, a confirmation message displays. Click Show details to see the actions completed. When you are through, click OK to continue.

  7. Again, click the snapplan on which you want to perform the reverse resynchronization.

  8. Select one of the following methods to access the Reverse Resync wizard:

    • From the menu bar, select Snapplan > Reverse Resync Snapshot.

    • Right-click the snapplan to bring up a pop-up menu. Then click Reverse Resync Snapshot.

      The Reverse Resync wizard displays.

  9. Click the Commit button, then click Finish to commit the reverse resynchronization process.

  10. At the confirmation prompt, click Yes to continue.

    The Commit option performs the following actions:

    • Commits the reverse resynchronization changes.

    • Resynchronizes the original volume from the data in the snapshot and then discards the content of the original database.

      Warning:

      This action cannot be undone.

  11. If the commit action was successful, a confirmation message displays. Click Show details to see the actions completed. When you are through, click OK to continue.