Bug Fixes
- Fix borg warnings wiping all archive records from database (#47) — The
bbs-ssh-helperborg-listcommand merged stderr into stdout, corrupting JSON output when borg emitted warnings. Both the post-prune archive sync and catalog sync interpreted corrupted JSON as "zero archives" and deleted all records. Fixed by separating stderr and adding JSON validation guards. - Fix auto-catalog-rebuild infinite loop — The auto-rebuild query had a column name typo that silently prevented it from ever running. After fixing the typo, it lacked a cooldown and re-queued every minute when archives couldn't be indexed. Added 24-hour cooldown.
Improvements
- Shell script plugin test now runs scripts (#46) — Previously only checked file existence/permissions. Now actually executes pre and post scripts (30s timeout) and reports exit code + output.
- Server log shows attached plugins — Backup jobs now log which plugins are included, making it easier to debug plugin configuration issues.