Product Documentation

Database Administrator's Guide

Previous Topic

Next Topic

Mirrored File Backups

Mirrored files are supported during dynamic dump and dump recovery as follows:

  1. If a mirrored file should be opened for use by an application during a dynamic dump, the dump script should contain the “mirrored” name, i.e., the name with the vertical bar (‘|’). For example, sales.dat|msales.dat.
  2. If this is not done, and the dynamic dump opens the primary file, because it is not in use, a client opening the primary|mirror combination gets an MNOT_ERR (551, file already opened without mirror). To avoid blocking users from gaining file access, open primary files with their mirrors when specified for dynamic dumps.
  3. The dump recovery program recreates both the primary and mirror files. It reproduces the primary file, and copies it over the mirror file.