Release 10.1B: 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. Disable OpenEdge Replication on the source database with the following command:
  2. proutil source-db-name -C DisableSiteReplication source 
    

  3. Restore your source database with the following command:
  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: A database enabled as a target database can be restored once OpenEdge Replication has been disabled. 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 © 2006 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095