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? >
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
- Block the source database server with the following command:
onmode -c block
- Externally back up all chunks on the source database server.
- When the backup completes, unblock the source database server:
onmode -c unblock
- Make the source database server the primary server:
onmode -d primary secondary_servername
- On the target database server, restore the data from the external
backup with a copy or file-backup program.
- On the target database server, restore the external backup of
all chunks:
onbar -r -e -p
- Make the target database server the secondary server:
onmode -d secondary primary_servername
- 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 ]