Backup plan finished with warnings only triggers apprise notification on first occurrence
Description
If a backup plan finishes with warnings, only the first occurrence/execution is triggering the apprise notifications. I expected that every execution should trigger the notifications. Recognized this with the issue of pg_dump mismatch version #495. I only received notification of the first execution, but not for the following scheduled plans. If the backup plan is edited (remove the database plugin e.g.) and trigger manually, everything is then correct. Add the database plugin again to the plan, save it and trigger it manually, first time of warning is informed via apprise notifications. Trigger the plan again manually, warning comes again, but notifications are not send anymore.
Steps to Reproduce
- Create apprise notification by mail and/or nextcloud -- Notify on: --- Backups ---- Backup Completed (checked) ---- Backup Completed with Warnings (checked) ---- Backup Failed (checked)
- Create a backup plan that creates a status "Completed with warnings" (e.g. with database plugin to a database server which a mismatch on pg_dump). -- add backup directories to the plan -- add database plugin
- Save plan
- Trigger manually with "Run now"
- Backup is done with warnings, notifications are send successfully (1. time occurrence after backup plan save)
- Trigger manually again
- Backup is done with warnings again, no notifications are sent
- Edit backup plan -- remove database plugin and save changes
- Trigger manually
- Backup is done successfully without warnings, notifications are send successfully
- Edit backup plan -- add/check database plugin again and save changes
- Trigger manually
- Backup is done with warnings again, notifications are send successfully (1. time occurrence after backup plan save)
- Trigger manually again
- Backup is done with warnings again, no notifications are sent
- Manual triggering again is still not triggering notification, also scheduled executions are also not sending notifications
Installation Type
Docker
BBS Version
v2.91.3
Agent Version (if applicable)
v2.90.0
Agent OS (if applicable)
Ubuntu / Debian
Relevant Logs
Logs of first occurrence of warning with notification:
Sep 13, 11:08 #118 MyServer info Archive created: "plan4-2026-09-13_09-08-04" — 77.1 MB original, 3.8 MB deduplicated
Sep 13, 11:08 -- MyServer info Push notification sent via "Nextcloud": [BBS] Backup Completed with Warnings
Sep 13, 11:08 -- MyServer info Push notification sent via "Email (SMTP)": [BBS] Backup Completed with Warnings
Sep 13, 11:08 #118 MyServer info Backup completed: job #118, 1840 files, 3s
Sep 13, 11:08 #118 MyServer info Plugin PostgreSQL Dump failed, backup continued: pg_dump failed for paperless: pg_dump: error: aborting because of server version mismatch pg_dump: detail: server version: 18.6 (Debian 18.6-1.pgdg13+2); pg_dump version: 17.11 (Debian 17.11-0+deb13u1)
Sep 13, 11:08 #118 MyServer info Agent started backup job #118 for plan "Paperless"
Sep 13, 11:08 #118 MyServer info Job #118 (backup) sent to agent queue
Sep 13, 11:08 #118 MyServer info Plugins: pg_dump
Sep 13, 11:08 #118 MyServer info Backup command: 'borg' 'create' '--json' '--log-json' '--list' '--progress' '--lock-wait=600' '--compression=lz4' '--exclude-caches' '--noatime' 'ssh://bbs-MyServer@MyServer///mnt/usbCloudBackups/borg-server/repositories/1/paperless::plan4-2026-09-13_09-08-01' '/mnt/usbNextcloud/paperless' '/home/bbs/pgdump'
Sep 13, 11:07 #118 MyServer info Manual backup triggered for plan "Paperless" (job #118)
Logs with next execution without sending notification:
Sep 13, 11:09 #120 MyServer info Archive created: "plan4-2026-09-13_09-09-46" — 77.1 MB original, 0 B deduplicated
Sep 13, 11:09 #120 MyServer info Backup completed: job #120, 1840 files, 3s
Sep 13, 11:09 #120 MyServer info Plugin PostgreSQL Dump failed, backup continued: pg_dump failed for paperless: pg_dump: error: aborting because of server version mismatch pg_dump: detail: server version: 18.6 (Debian 18.6-1.pgdg13+2); pg_dump version: 17.11 (Debian 17.11-0+deb13u1)
Sep 13, 11:09 #120 MyServer info Agent started backup job #120 for plan "Paperless"
Sep 13, 11:09 #120 MyServer info Job #120 (backup) sent to agent queue
Sep 13, 11:09 #120 MyServer info Plugins: pg_dump
Sep 13, 11:09 #120 MyServer info Backup command: 'borg' 'create' '--json' '--log-json' '--list' '--progress' '--lock-wait=600' '--compression=lz4' '--exclude-caches' '--noatime' 'ssh://bbs-MyServer@MyServer///mnt/usbCloudBackups/borg-server/repositories/1/paperless::plan4-2026-09-13_09-09-46' '/mnt/usbNextcloud/paperless' '/home/bbs/pgdump'
Sep 13, 11:09 #120 MyServer info Manual backup triggered for plan "Paperless" (job #120)
Confirmed and fixed on main, in the next release. Warnings were treated like an ongoing condition: the second run bumped a counter on the first notification instead of sending a new one, and only a clean success cleared it. A backup that finishes with warnings is now recorded as a fresh event on every run, so email, Apprise and push all fire each time. Failures keep one alert per state change with the periodic reminder, which is the behaviour you saw and is intended there. Thanks for the careful steps.