pgstef / check_pgbackrest

pgBackRest backup check plugin for Nagios
PostgreSQL License
35 stars 14 forks source link

Support non-gz compressed files in the archives check #12

Closed mhagander closed 3 years ago

mhagander commented 3 years ago

pgbackrest supports several different compression methods, so check_pgbackrest should do the same.

Regexp taken from COMPRESS_TYPE_REGEXP in the backrest source code.

In passing, properly escape the . character in the regexp so it doesn't match "anything".

pgstef commented 3 years ago

Merged in the branch planned for next release. Thanks !