Performing snapshot replication v7
You must perform the first replication using snapshot replication. After the first snapshot replication, you can perform later replications using either the synchronization method (if the publication wasn't initially defined as a snapshot-only publication) or the snapshot method.
In the Replication Server console, select the Subscription node of the subscription for which you wish to perform snapshot replication.
Select Subscription > Snapshot.
Select Verbose Output if you want to display the output from the snapshot in the dialog box. Don't select this option in a network address translation (NAT) environment, as a large amount of output from the snapshot can delay the response from the Snapshot dialog box.
Select Snapshot to start snapshot replication.
Snapshot Taken Successfully appears if the snapshot was successful.
Select OK. If the snapshot wasn't successful, scroll through the messages in the Snapshot dialog box if Verbose Output was selected or check the log files.
The status messages of each snapshot are saved in the Migration Toolkit log files named
mtk.log[.n] in the following directories.
[.n] is an optional history file count if log file rotation is enabled.
POSTGRES_HOME is the home directory of the Windows postgres account (enterprisedb account for EDB Postgres Advanced Server installed in Oracle-compatible configuration mode). The specific location of
POSTGRES_HOME depends on your version of Windows. The Replication Server version number is represented by
The publication is now replicated to the subscription database. A record of the snapshot is kept in the replication history. See Viewing replication history for more information.
Before version 7.0.0, Replication Server required superuser privileges to disable/enable constraints and indexes as part of its snapshot operation. Starting with version 7.0.0, the superuser privileges are no longer required, and the constraints/indexes are now dropped and re-created as part of the snapshot operation. This change might cause any views/materialized views with a dependency on the constraints from the target subscription/master database to be dropped. These views are then re-created at the end of snapshot operation. Depending on the permissions assigned to the Replication Server subscription database user, the re-created views/materialized views might have permissions that are inconsistent with those of the originally assigned permissions. Therefore, we recommend manually verifying the assigned permissions of the relevant views/materialized views in the target database and making any corrections where applicable.