2002-06-24 05:58:08 +08:00
|
|
|
#########################################################################
|
|
|
|
# Config file for DBMirror.pl
|
|
|
|
# This file contains a sample configuration file for DBMirror.pl
|
|
|
|
# It contains configuration information to mirror data from
|
|
|
|
# the master database to a single slave system.
|
|
|
|
#
|
2003-11-30 06:41:33 +08:00
|
|
|
# $PostgreSQL: pgsql/contrib/dbmirror/slaveDatabase.conf,v 1.2 2003/11/29 22:39:19 pgsql Exp $
|
2002-06-24 05:58:08 +08:00
|
|
|
#######################################################################
|
|
|
|
|
|
|
|
$masterHost = "masterMachine.mydomain.com";
|
|
|
|
$masterDb = "myDatabase";
|
|
|
|
$masterUser = "postgres";
|
|
|
|
$masterPassword = "postgrespassword";
|
|
|
|
|
|
|
|
# Where to email Error messages to
|
|
|
|
# $errorEmailAddr = "me@mydomain.com";
|
|
|
|
|
|
|
|
$slaveInfo->{"slaveHost"} = "backupMachine.mydomain.com";
|
|
|
|
$slaveInfo->{"slaveDb"} = "myDatabase";
|
|
|
|
$slaveInfo->{"slaveUser"} = "postgres";
|
|
|
|
$slaveInfo->{"slavePassword"} = "postgrespassword";
|
|
|
|
|