Home | Previous Page | Next Page   Overview of the ON-Bar Backup and Restore System > Performing an External Backup and Restore > What Is Restored in an External Restore? >

Initializing HDR with an External Backup and Restore (IDS)

You can use external backups to initialize High-Availability Data Replication (HDR). For more information on HDR, see Initializing High-Availability Data Replication with ON-Bar (IDS) and the IBM Informix: Administrator's Guide.

To initialize HDR with an external backup and restore
  1. Block the source database server with the following command:
    onmode -c block
  2. Externally back up all chunks on the source database server.
  3. When the backup completes, unblock the source database server:
    onmode -c unblock
  4. Make the source database server the primary server:
    onmode -d primary secondary_servername
  5. On the target database server, restore the data from the external backup with a copy or file-backup program.
  6. On the target database server, restore the external backup of all chunks:
    onbar -r -e -p
  7. Make the target database server the secondary server:
    onmode -d secondary primary_servername
  8. If the logical-log records written to the primary database server since step 1 still reside on the primary database server disk, the secondary database server reads these records to perform the logical recovery. Otherwise, perform the logical recovery:
    onbar -r -l
    The database server operational messages appear in the message log on the primary and secondary servers.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]