Stop notification "Garbage Collect Datastore successful"

fabienfs

Member
Jun 6, 2021
25
2
8
33
Hello,
I have a PBS version 3.2-7. Every 2 hours, I receive an email saying “Garbage Collect Datastore ‘backups’ successful”. With the new notification system, I’m not sure how to disable the notification regarding the “Garbage Collect Datastore successful”. Here is my Notification configuration. What should I change?
Thanks :)

Capture d’écran 2024-09-24 à 18.05.12.png
Capture d’écran 2024-09-24 à 18.05.23.png
 
Hello,

the config that you are showing in the screenshot will not work because a notification can only have one type at a time. Since the pre-configured matcher uses a "not all" combinator, that would essentially mean the following:

Send notification if NOT (type = prune AND type = gc AND severity = info)

What you could do is to invert the matcher logic, changing to "Any" instead of "Not all" and matching on all notification types that you want to receive. Remember that you can always create a second matcher as well if a single matcher is too limiting for you. All matchers are evaluated and there should not be any duplicated notifications even if a notification happens to match multiple matchers.
 
  • Like
Reactions: fireon
Hello,

the config that you are showing in the screenshot will not work because a notification can only have one type at a time. Since the pre-configured matcher uses a "not all" combinator, that would essentially mean the following:

Send notification if NOT (type = prune AND type = gc AND severity = info)

What you could do is to invert the matcher logic, changing to "Any" instead of "Not all" and matching on all notification types that you want to receive. Remember that you can always create a second matcher as well if a single matcher is too limiting for you. All matchers are evaluated and there should not be any duplicated notifications even if a notification happens to match multiple matchers.
Hello Lukas,

Thank you for your message. I've tried different things, but I'm not sure I understand how to do it with what you've told me. Can you give me a little more detail?

Thanks in advance for your help