Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   The ontape Backup and Restore System (IDS) > Performing an External Backup and Restore Using ontape > What Is Restored in an External Restore? >

Initializing HDR with an External Backup and Restore

You can use external backups to initialize High-Availability Data Replication (HDR).

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:
    ontape -p -e
  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:
    ontape -l
    The database server operational messages appear in the message log on the primary and secondary servers.
Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]