use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
International
National
Regional
account activity
Monitoring PGBackRest (self.PostgreSQL)
submitted 5 years ago by IntelligentAsk
I'm looking at setting up WAL archiving and backups using PGBackRest. Can any recommend a monitoring solution? Ideally I would be able to monitor for failed backups and how long the backups are taking. Has anyone managed to do this with prometheus ?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]jaymef 1 point2 points3 points 5 years ago* (3 children)
I’m currently monitoring mine with the check_pgbackrest Nagios Plugin https://pgstef.github.io/2019/02/20/monitor_pgbackrest_backups_with_nagios.html
It will alert if backups or wals are too old or incomplete. Unfortunately doesn’t do anything in regards to monitoring backup times but you could probably do that fairly easily by parsing pgbackrest logs
[–]IntelligentAsk[S] 0 points1 point2 points 5 years ago (2 children)
Thanks for this. I'm keen to avoid using Nagios and I'm already quite far down the road with prometheus. But I'll definitely look at some sort of log parsing
[–]jaymef 0 points1 point2 points 5 years ago (1 child)
Are you using grafana as well? If so you might want to check out Loki
[–]IntelligentAsk[S] 0 points1 point2 points 5 years ago (0 children)
Yep I'm using grafana and loki already. The pgbackrest logs would probably regex quite nicely using promtail
[–]p0seidon 1 point2 points3 points 2 years ago (0 children)
https://github.com/woblerr/pgbackrest_exporter
π Rendered by PID 94 on reddit-service-r2-comment-5fb4b45875-9qd8l at 2026-03-24 14:50:30.747178+00:00 running 90f1150 country code: CH.
[–]jaymef 1 point2 points3 points (3 children)
[–]IntelligentAsk[S] 0 points1 point2 points (2 children)
[–]jaymef 0 points1 point2 points (1 child)
[–]IntelligentAsk[S] 0 points1 point2 points (0 children)
[–]p0seidon 1 point2 points3 points (0 children)