Try OpenEdge Now
skip to main content
User Guide
OpenEdge Replication Quick Command Summary : Setting up the source and target databases
 

Setting up the source and target databases

This section provides the steps for setting up the source and target databases.
To set up the source database for offline backup:
1. Back up the source database, as shown:
probkup source-db-name {file name|device name}
2. Create a structure file. For example:
prostrct list source-db-name source-db-name.st
3. Verify that after-imaging is enabled. If it is not enabled:
a. Create and edit a structure file (source-db-name_ai.st) to add AI.
b. Apply source-db-name_ai.st to the source database, as shown:
prostrct add source-db-name source-db-name_ai.st
c. Back up the database, as shown:
probkup source-db-name source-db-backup-name
d. Begin AI, as shown:
rfutil source-db-name -C aimage begin
4. Enable the source database for Replication, as shown:
proutil source-db-name -C enableSiteReplication source
5. Perform an incremental backup, as shown:
probkup source-db-name incremental {source-db-incrementalbackup-name | device-name}
* Setting up the source database with deferred agent startup for online backup
* Set up the target database