Consultor Eletrônico



Kbase P149309: How to use incremental backups to rebuild replicated target databases after a replication failure?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/07/2009
Status: Unverified

GOAL:

How to use incremental backups to rebuild replicated target databases after a replication failure?


GOAL:

Can I use online incremental backup to recreate target database from a nightly full backup ?


FACT(s) (Environment):

All Supported Operating Systems
OpenEdge Replication 10.1x
OpenEdge Replication 10.2A

FIX:

Following steps can be taken in order to use full backup (from "last" night for example) and a current online incremental backup of source replicated database in order to recreate target database:

1) take an incremental backup of a source with -REPLTargetCreation
2) restore full backup onto a target machine
3) proutil targetdb -C disablesitereplication source
4) restore incremental backup
5) proutil targetdb -C enablesitereplication target
6) stop replication server on a source using "dsrutil sourcedb -C terminate server" (if it is still up and running)
7) delete *.recovery files on both source and target
8) start target db
9) dsrutil sourcedb -C restart server
10) source and target databases should be in sync