Validating all publications (validatepubs) v7

The validatepubs command checks whether any of the definitions of the tables subordinate to the given publication database definition changed since the publication was created.

Synopsis

-validatepubs
  –repsvrfile pubsvrfile
  -pubdbid dbid
  -repgrouptype { m | s }
Note

The -repgrouptype option is not needed with Replication Server 7.1.0 and later.

See Validating a publication for more information.

Parameters

pubsvrfile

The file containing the publication server login information.

dbid

The publication database ID of the publication database definition under which to validate all publication tables.

-repgrouptype

Specify s if this command applies to a single-master replication system. Specify m if this command applies to a multi-master replication system.

Note

The -repgrouptype option only applies to Replication Server 7.0.0 and earlier.

Examples

This example validates the Oracle publication database definition identified by publication database ID 1.

$ java -jar edb-repcli.jar -validatepubs \
>   -repsvrfile ~/pubsvrfile.prop \
>   -pubdbid 1 
Validating all available publications ...
The schema definitions for all the non snapshot-only publications tables are in sync
with the source.
The "validatepubs" feature is not available for the following snapshot-only publications:
-  salesemp