Table 44 summarizes the various scenarios for restoring data if the primary database server suffers media failure. The following issues are relevant:
If the disk contains critical media, the primary database server fails. You have to perform a full restore using the primary dbspace backups (or the secondary dbspace backups if the secondary database server was switched to standard mode and activity redirected). See Restarting After Critical Data Is Damaged.
If the disk does not contain critical media, you can restore the affected dbspaces individually with a warm restore. A warm restore consists of two parts: first a restore of the failed dbspace from a backup and next a logical restore of all logical-log records written since that dbspace backup. For more information on performing a warm restore, see the IBM Informix Backup and Restore Guide. You must back up all logical-log files before you perform the warm restore.
HDR
Server |
Critical
Media |
Chunks
Mirrored |
Effect of Failure and Procedure for Restoring Media |
---|---|---|---|
Primary | Yes | No | Primary database server fails. Follow the procedure in Restarting After Critical Data Is Damaged. |
Primary | Yes | Yes | Primary database server remains online. Follow the procedures in Recovering a Mirror Chunk. |
Primary | No | No | Primary database server remains online. Follow the procedure in your Dynamic Server backup and restore manual for performing a warm restore of a dbspace from a dbspace backup. Back up all logical-log files before you perform the warm restore. |
Primary | No | Yes | Primary database server remains online. Follow the procedures in Recovering a Mirror Chunk. |