DBReplicator User Manual


publisher.conf

publisher.conf

Name

publisher.conf -- configuration file for a publisher

Synopsis

Any line beginning with a '#' is considered a comment. Options are of the format:

	VARIABLE=value

With no spaces around the '=' and no quotes at all.

Description

This file gets parsed when dbreplicator gets called with any of the publisher-specific operations.

General Options

DRIVER

This is the database driver used to connect to the SQL backend

URL

This is the specific jdbc connect string of the format: <jdbc>:<database>://<hostname>:<db port>/<database name>

USER

User to connect to the database as User to connect to the database as. Must have permission to create/drop tables etc. For postgres, do:

su - postgres -c "createuser -a -d <USER>"
				
PASSWORD

Password for above user

PUB_NAME

Name given to publication. This will be the name given to the publication in the database if publisher is being run in -init mode.(publish-init) Otherwise, it's the database to publish

SYS_NAME

Name of subscribing system. Usually local host name.

PORT_NUMBER

Port number to listen on for connections from subscribers

Samples

Notes

Author

Brian Tilma, Regiscope Digital Imaging ( btilma@users.sourceforge.net )

See Also

dbreplicator(8), subscriber.conf(5)


Powered by Drupal - Theme by Danger4k