-
Notifications
You must be signed in to change notification settings - Fork 3
/
pillar.example
37 lines (37 loc) · 1.03 KB
/
pillar.example
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
barman:
log_level: INFO
compression: gzip
hosts:
pgsql1:
description: "Example of PostgreSQL Database (Streaming-Only)"
conninfo: "host=pg user=barman dbname=postgres"
backup_method: postgres
streaming_conninfo: "host=pg user=streaming_barman"
streaming_archiver: "on"
slot_name: barman
last_backup_maximum_age: "1 DAYS"
retention_policy: REDUNDANCY 4
cron:
ensure: present
hour: 23
minute: 30
pgsql2:
description: "Example of PostgreSQL Database (via Ssh)"
conninfo: "host=pg user=barman dbname=postgres"
backup_method: "rsync"
ssh_command: "ssh postgres@pgsql2"
reuse_backup: link
archiver: "on"
last_backup_maximum_age: "1 DAYS"
retention_policy: REDUNDANCY 4
cron:
ensure: present
hour: 23
minute: 30
api:
secret: 89660c74da48ddd4efbe4d3c8f8150de
auth_token:
secret: Deneme
client:
username: barmanapi
password: 26588e932c7ccfa1df309280702fe1b5