Skip to content

1.2.3

Choose a tag to compare

@cfoellmann cfoellmann released this 26 Aug 08:36
· 5 commits to master since this release

Fixed

  • Critical: MAX_BACKUPS was only rejected when it was the literal 0, so 00 and 000 passed validation. Both reach head -n -N in the pruning step as 0, and head -n -0 emits every line rather than none — the complete list of snapshots was handed to rm -rf after every run.
  • Important: exec.sh fails fast on a missing TOKEN, an invalid MAX_BACKUPS or an unknown TIME_ZONE. With a restart policy in place an invalid value now produces a restart loop rather than an idle container.
  • Important: The daily sleep is backgrounded and waited on, so INT/TERM fire immediately. A container stop used to hit the grace period and exit 137; it now exits 143 within a second.
  • Log retention is grouped by run date, so it matches snapshot retention for multi-entity setups.

Changed

  • COMPRESSION is off for an empty value and for no, false, off, 0 (case-insensitive), on for anything else. Previously any non-empty value enabled compression, so COMPRESSION=no compressed. COMPRESSION=GZIP is unaffected.
  • Soft-failure markers are defined once and shared by the warning detection and the notification card; the shared set matches repository not accessible without the former Skipping prefix.

Added

  • The smoke test grew from 3 to 13 checks: config validation, retention, COMPRESSION handling and SIGTERM behaviour, each confirmed to fail against a deliberately broken image.

Images

ghcr.io/wus-technik/github-backup-docker:1.2.3 — also published as :stable (linux/amd64, linux/arm/v7, linux/arm64).