# emprepsync

    EMPREPSYNC(1)                                                    EMPREPSYNC(1)

    NAME
           emprepsync - performs replication synchronization

    SYNOPSIS
           emprepsync  [-fv]  replicate_database  replicate_table  [ replicate_ta-
           ble]...

    DESCRIPTION
           emprepsync is the Replication Synchronization  Utility  which  synchro-
           nizes  the  data  of  one  or more replicate tables indicated by repli-
           cate_table in replicate_database, with the data of their  corresponding
           Replication  Master  Tables. More than one replicate_table belonging to
           the same replicate_database can  be  synchronized  using  one  call  of
           emprepsync Replication Synchronization Utility.

           For  each  replicate  table replicate_table, there is defined a list of
           Replication Master Entries.  Each  Replication  Master  Entry  contains
           information to access a candidate Replication Master Table.  emprepsync
           "chooses" a Replication Master Entry that  is  "enabled"  and  has  the
           smallest  Replication  Master Order, It then attempts to connect to the
           Replication Master Server assigned to the "chosen"  Replication  Master
           Table.   If  a connection with the Replication Master Server can not be
           established, emprepsync will try to choose another  Replication  Master
           Table  which  has a larger Replication Master Order until either a suc-
           cessful connection is established, or no other Replication Master Table
           is  remained  in the list to be tried. If no connection with any of the
           Replication Master Tables in Replication Master List of replicate_table
           can be established, emprepsync exits with an error message.

           After  the  first successful connection to a Replication Master Server,
           emprepsync will try to  synchronize  replicate_table  with  the  chosen
           Replication  Master  Table.  If this synchronization fails, the partial
           effects of the synchronization will not be reflected  to  replicate_ta-
           ble, and the other Replication Master Tables will not be tried.

           -v     This option causes emprepsync to show verbose on synchronization
                  progress status, so that the user would know  whether  the  syn-
                  chronization is in progress or not.

           -f     This  option  forces  emprepsync  to synchronize replicate_table
                  with the Replication Master Table accessed by  the  successfully
                  connected  Replication Master Server assigned by chosen Replica-
                  tion Master Entry, even if the contents of  replicate_table  are
                  more  recent  than  that  of its Replication Master Table.  Note
                  that [-f] option works only  when  Current  Master  Table  Start
                  Timestamp  (CMTS)  of  replicate_table  is  equal to CMTS of its
                  Replication Master Table participating in the  Replication  Syn-
                  chronization.

    FILES
           EMPRESS database files.

    SEE ALSO
           empsvadm(1)

           Empress: Replication Server

    HISTORY
           Written  by  Empress  Software  Inc..   All material is copyrighted and
           licensed.  Use on non-licensed CPUs is prohibited.

    Empress 8.62                 Empress Software Inc.               EMPREPSYNC(1)