Restore Data - DB2 iDataAgent - Full System Restore

Topics | How To | Full System Restore | Related Topics


Overview

Perform a Full System Restore


Overview

The difference between a normal restore and a full system restore is the severity of the problem. Normally, if data is lost or removed, it is recovered from the archives using the normal restore procedures. However, when a normal restore operation cannot correct a software and/or hardware corruption problem, some additional changes may be required.

The level of system restore required may be different as described below.


Perform a Full System Restore

The following procedure provides the steps to perform a full system restore when the client system is damaged or destroyed.

The procedure assumes the following:

To perform a full system restore

  1. If necessary, rebuild the hardware as it existed before.
  2. Using the appropriate instructions, perform a full system restore of your file system to rebuild your operating system.  In addition to restoring your operating system, this operation will restore the DB2 application files and iDataAgent software.
  3. Reboot the machine.
  4. Without deleting the DB2 iDataAgent icon from the CommCell Console, install the DB2 iDataAgent (again).  If you do delete this icon before installing the iDataAgent, you will lose all the DB2 backups.
    For a DB2 on Windows install only, you are prompted to provide directory paths for several items.  The system will not accept the directory paths that you entered for the original install during a reinstall.  Therefore, be sure to enter "new" directory paths during a reinstall.
  5. Determine whether or not any DB2 database applications were running during the previous full system backup.  To this purpose, enter the following command at the client machine for each database to be restored:

    db2 connect to <database name>

    where database name  is the name of the database.

    If a connection is made to each database, the restore procedure is completed. 

    However, if a connection to any database is unsuccessful, a message for each unsuccessful attempt similar to the following appears:

    SQL 1036C  An I/O error occurred while accessing the database.  SQLSTATE=58030"

    In such a case, go to the next step.

  6. Drop each database to which no connection was made in the previous step.  To this purpose, enter the following command for each such database:

    db2 drop database <database name>

    where database name  is the name of the database.

  7. Use the appropriate procedure in Browsing Data to restore and bring up each dropped database from its database backup image.

Back To Top