forked from Aiven-Open/pghoard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pghoard.json
34 lines (34 loc) · 1.02 KB
/
pghoard.json
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
{
"backup_location": "/var/lib/pghoard",
"backup_sites": {
"default": {
"active_backup_mode": "pg_receivexlog",
"basebackup_count": 2,
"basebackup_interval_hours": 24,
"nodes": [
{
"host": "127.0.0.1",
"password": "example",
"port": 5432,
"user": "replication"
}
],
"object_storage": {
"aws_access_key_id": "xxx",
"aws_secret_access_key": "ASDF",
"bucket_name": "pgbackups",
"region": "eu-central-1",
"storage_type": "s3"
},
"pg_data_directory": "/path/where/my/pgdata/resides",
"pg_bin_directory": "/usr/bin"
}
},
"tar_executable": "tar",
"http_address": "127.0.0.1",
"http_port": 16000,
"log_level": "INFO",
"syslog": false,
"syslog_address": "/dev/log",
"syslog_facility": "local2"
}