Release 10.1C: OpenEdge Replication:
User Guide


Restoring source and target databases

A database that is enabled for OpenEdge Replication cannot be restored unless OpenEdge Replication is first disabled.

To restore a database that is enabled as a source database:

  1. Use the following command to disable OpenEdge Replication on the source database:
  2. proutil source-db-name -C DisableSiteReplication source 
    

  3. Use the following command to restore your source database:
  4. prorest source-db-name [ file | device ] 
    

    Be sure you delete the db-name.repl.recovery file any time you restore.

    If the database you are restoring was previously enabled for OpenEdge Replication, the database is again enabled for OpenEdge Replication after the restore. OpenEdge Replication cannot be restarted for this database until OpenEdge Replication is disabled and then re-enabled. The target database must be resourced after the restore, disable, and enable have been performed.

    Note: You can restore a database enabled as a target database once you disable OpenEdge Replication. This is not a recommended practice, however, because the target database should always be created from a source database, not from a backup of itself. If something happens to your target database, and you need a new copy of it, take the latest backup of your source database. This guarantees that the databases can be synchronized. The latest backup of your source database can be from a full online backup or a full offline backup. It cannot be an incremental backup. Be sure to delete the recovery file before restarting OpenEdge Replication.

    Once a database is enabled for OpenEdge Replication, information about the state of OpenEdge Replication is kept in the database itself. This information is not restored when the database is restored. The only way to recover this information is to re-enable the database for OpenEdge Replication.


Copyright © 2008 Progress Software Corporation
www.progress.com