mirror of https://github.com/postgres/postgres
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
820 B
23 lines
820 B
|
24 years ago
|
#########################################################################
|
||
|
|
# 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.
|
||
|
|
#
|
||
|
|
# $Id: slaveDatabase.conf,v 1.1 2002/06/23 21:58:08 momjian 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";
|
||
|
|
|