forked from commandprompt/PITRTools
/
cmd_archiver.ini.sample
46 lines (31 loc) · 940 Bytes
/
cmd_archiver.ini.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[DEFAULT]
; online or offline
state: online
; The base database directory
pgdata: /var/lib/postgresql/8.3/main
; where to remotely copy archives
r_archivedir: /var/lib/postgresql/archive
; where to locally copy archives
l_archivedir: /var/lib/postgresql/archive
; where is rsync
rsync_bin: /usr/bin/rsync
; option 2 or 3, if running RHEL5 or similar it is likely 2
; if you are running something that ships remotely modern software
; it will be 3
rsync_version = 2
; IP of slave
slaves: 192.168.1.201,192.168.1.202
; the user that will be using scp
user: postgres
; if scp can't connect in 10 seconds error
timeout: 10
; command to process in ok
notify_ok: echo OK
; command to process in warning
notify_warning: echo WARNING
; command to process in critical
notify_critical: echo CRITICAL
; if you want to debug on/off only
debug: on
; if you want ssh debug (warning noisy)
ssh_debug: off