Skip to content

Commit 94b2a67

Browse files
author
alexander popov
committed
feat: config for pgprobackup plugin
1 parent 5bcaed4 commit 94b2a67

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

packaging/conf/example.conf

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,4 +185,16 @@ interval = 500
185185
# If pgsql.prepared.oldest exceeds max_prepared_transaction_time the trigger fires.
186186
[preparedtransaction]
187187
max_prepared_transaction_time = 60
188-
interval = 60
188+
interval = 60
189+
190+
# Get size of backup catalogs, which using pg_probackup to store all WAL and backup files
191+
# and get error if some backup has bad status (ERROR,CORRUPT,ORPHAN).
192+
# how it works: mamonsu run command: pg_probackup show -B backup_dir1.
193+
# when status is ERROR,CORRUPT,ORPHAN,
194+
# как это работает: mamonsu запускает команду pg_probackup show -B backup_dir1,
195+
# если в выводе, в колонке status присутствует ERROR,CORRUPT,ORPHAN, срабатывает триггер.
196+
[pgprobackup]
197+
enabled = false
198+
interval = 300
199+
backup_dirs = /backup_dir1,/backup_dir2
200+
pg_probackup_path = /usr/bin/pg_probackup-11

0 commit comments

Comments
 (0)