InTouch Hub · Blue Isle Software

Backup Verifier

Trigger-file driven. When a new backup file lands, runs a size sanity check, verifies archive integrity (tar/zip/sql), and notifies whether the backup is good.

backup-verifier

Trigger-file driven. When a new backup file lands, runs a size sanity check and an archive integrity check (tar, gzip, zip, SQL dump), then notifies the result.

Use case

The classic backup failure: the cron ran, a file got written, the size looks plausible — but the archive is silently corrupt and nobody knows until the day they try to restore. This workflow catches that on arrival, in seconds.

This is a YAML workflow, not a skill — tar -tzf is the verifier, no AI involved.

Setup

  1. Create a trigger-file watching your backup destination (e.g. /backups/postgres/)
  2. Link the trigger to this workflow
  3. The workflow fires per file landing; the trigger engine sets TRIGGER_FILE
  4. Adjust MIN_BYTES in workflow.yaml to match your normal backup baseline (a few times your smallest legitimate backup, well below your average)

Pipeline

  1. verifyruntimeenv (bash) — size check, then format-aware integrity check, exits non-zero on FAIL
  2. notifymessage — sends the verdict

Supported formats

Behavior on FAIL

Customization

Source

See workflow.yaml.