mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-21 18:53:24 +02:00
23 lines
849 B
Plaintext
23 lines
849 B
Plaintext
#########################################################################
|
|
# 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.
|
|
#
|
|
# $PostgreSQL: pgsql/contrib/dbmirror/slaveDatabase.conf,v 1.2 2003/11/29 22:39:19 pgsql Exp $
|
|
#######################################################################
|
|
|
|
$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";
|
|
|