Пятница (08/06/10)

/dev/pts/5
18:23:04
#londiste config --help
/usr/lib/pymodules/python2.6/londiste/setup.py:11: DeprecationWarning: the sets module is deprecated
  from sets import Set as set
Usage: londiste [options] INI CMD [subcmd args]
commands:
  replay                        replay events to subscriber
  provider install              installs modules, creates queue
  provider add TBL ...          add table to queue
  provider remove TBL ...       remove table from queue
  provider tables               show all tables on provider
  provider add-seq SEQ ...      add sequence to provider
  provider remove-seq SEQ ...   remove sequence from provider
  provider seqs                 show all sequences on provider
  subscriber install            installs schema
  subscriber add TBL ...        add table to subscriber
  subscriber remove TBL ...     remove table from subscriber
  subscriber add-seq SEQ ...    add table to subscriber
  subscriber remove-seq SEQ ... remove table from subscriber
  subscriber tables             list tables subscriber has attached to
  subscriber seqs               list sequences subscriber is interested
  subscriber missing            list tables subscriber has not yet attached to
  subscriber check              compare table structure on both sides
  subscriber resync TBL ...     do full copy again
  subscriber fkeys [pending|active]             show fkeys on tables
  subscriber triggers [pending|active]          show triggers on tables
  subscriber restore-triggers TBL [TGNAME ..]   restore pending triggers
  subscriber register           register consumer on provider's queue
  subscriber unregister         unregister consumer on provider's queue
  compare [TBL ...]             compare table contents on both sides
  repair [TBL ...]              repair data on subscriber
  copy                          [internal command - copy table logic]
Options:
  -h, --help         show this help message and exit
  -q, --quiet        make program silent
  -v, --verbose      make program verbose
  -d, --daemon       go background
  control running process:
    -r, --reload     reload config (send SIGHUP)
    -s, --stop       stop program safely (send SIGINT)
    -k, --kill       kill program immidiately (send SIGTERM)
  expert options:
    --all            add: include all possible tables
    --force          add: ignore table differences, repair: ignore lag
    --expect-sync    add: no copy needed
    --skip-truncate  add: keep old data
    --rewind         replay: sync queue pos with subscriber
    --reset          replay: forget queue pos on subscriber