0.Secure Golden Gate user password using wallet (dircrd/cwallet.sso).

GGSCI>create wallet
GGSCI>add credentialstore
GGSCI>alter credentialstore add user <GGS Schema> password <Password> alias <Alias>
GGSCI>info credentialstore
GGSCI>dblogin useridalias <Alias>

1.Start extract on the source.

dblogin useridalias ggs
register extract ext with database
add extract ext, integrated tranlog, begin now
add exttrail <EXT_DIR>/ES, extract ext, megabytes 1000
start extract ext

Bi-directional:
expdp "'/ as sysdba'" dumpfile=gg.dmp logfile=gg.log schemas=<schema> FLASHBACK_SCN=12364556595958 exclude=SEQUENCE
impdp "'/ as sysdba'" dumpfile=gg.dmp logfile=gg_imp.log

2.Start pump on the source.

dblogin useridalias ggs
add extract pmp, exttrailsource <EXT_DIR>/ES
add rmttrail <REP_DIR>/RT extract pmp megabytes 1000
start extract pmp

3.Start replicat from specified SCN.
dlogin useridalias ggs
add replicat rep integrated exttrail <REP_DIR>/RT
start replicat rep aftercsn <scn>

4.Start extract on the target.

dblogin useridalias ggs
register extract ext with database
add extract ext, integrated tranlog, begin now
add exttrail <EXT_DIR>/ET, extract ext, megabytes 1000
start extract ext

5.Start pump on the target.

dblogin useridalias ggs
add extract pmp, exttrailsource <EXT_DIR>/ET
add rmttrail <REP_DIR>/RT extract pmp megabytes 1000
start extract pmp

6.Start replicat from specified SCN.
dlogin useridalias ggs
add replicat rep integrated exttrail <REP_DIR>/RS
start replicat rep

