Skip to content

v3.2.1 - Schedule Templates, Bulk Operations & Signal Handling

Choose a tag to compare

@wnstfy wnstfy released this 09 Jan 18:32
· 50 commits to main since this release
Immutable release. Only release title and notes can be modified.
v3.2.1
f911d04

Highlights

This release introduces schedule templates for quick setup, bulk operations for managing multiple jobs at once, and signal handling to prevent orphaned locks.

Added

  • Schedule Templates (BACKUPD-035): Pre-defined scheduling presets

    • backupd schedule templates list - View available presets
    • backupd schedule templates show <name> - Show preset details
    • Built-in templates: minimal, standard, intensive, business-hours
  • Bulk Schedule Operations (BACKUPD-034): Manage all jobs at once

    • backupd schedule --all set <template|cron> - Schedule all jobs
    • backupd schedule --all disable - Disable all schedules
    • backupd schedule --all status - View all schedule statuses
  • Schedule Conflict Auto-Suggest (BACKUPD-033): Smart scheduling

    • Detects when multiple jobs would run at the same time
    • Suggests staggered alternatives with offset times
  • Signal Handling (BACKUPD-036): Graceful cleanup

    • Proper cleanup on Ctrl+C (SIGINT) and SIGTERM
    • Prevents orphaned restic locks from interrupted operations

Fixed

  • Fixed bulk schedule showing "failed" for unconfigured jobs (now shows "skipped")
  • Fixed template show with missing argument causing unbound variable error
  • Fixed invalid template name causing script crash
  • Fixed silent exit during bulk operations when count incremented from 0

Technical

  • Signal handlers in lib/core.sh for EXIT, INT, TERM signals
  • Child process tracking with BACKUPD_CHILD_PIDS array
  • Improved validation for schedule template operations

Checksums

See SHA256SUMS file for verification.