bot should still write a summary even when errors occur #96

Open
opened 2026-09-23 13:09:37 +00:00 by simon · 0 comments
Owner

On errors, the bot crashes before being able to write a summary:

Failed to run command bash -c 'set -o pipefail;/pg_backup.sh backup' in listmonk_dev_kolli_cloud_db.1.5619a9a77bp9inw80v2erz1gn: Creating backup at /var/lib/postgresql/data/backup_2026-09-23.sql... /pg_backup.sh: line 16: /var/lib/postgresql/data/backup_2026-09-23.sql: No such file or directory

but it actually creates snapshots - I assume of those apps where it didn't crash?

My expectation would be that the bot creates backups for all the apps it can, reports errors where it can't and produces a summary at the end in all cases

On errors, the bot crashes before being able to write a summary: `Failed to run command bash -c 'set -o pipefail;/pg_backup.sh backup' in listmonk_dev_kolli_cloud_db.1.5619a9a77bp9inw80v2erz1gn: Creating backup at /var/lib/postgresql/data/backup_2026-09-23.sql... /pg_backup.sh: line 16: /var/lib/postgresql/data/backup_2026-09-23.sql: No such file or directory` but it actually creates snapshots - I assume of those apps where it didn't crash? My expectation would be that the bot creates backups for all the apps it can, reports errors where it can't and produces a summary at the end in all cases
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coop-cloud/backup-bot-two#96