Removing a Publication (removepub) v6.2

The removepub command removes one or more publications.

Synopsis

-removepub pubname_1 [ pubname_2 ] ...
  –repsvrfile pubsvrfile
  -repgrouptype { m | s }

See Removing a Publication for additional information on removing a publication. Parameters

pubname_n

The name of a publication to be removed.

pubsvrfile

The file containing the publication server login information.

-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.

Examples

A publication named dept_emp is removed from a single-master replication system.
$ java -jar edb-repcli.jar -removepub dept_emp \
>   -repsvrfile ~/pubsvrfile.prop -repgrouptype s
Removing publication...
Publication dept_emp unpublished successfully.