v3.2.1 - Schedule Templates, Bulk Operations & Signal Handling
·
50 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
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 presetsbackupd 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 jobsbackupd schedule --all disable- Disable all schedulesbackupd 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.shfor EXIT, INT, TERM signals - Child process tracking with
BACKUPD_CHILD_PIDSarray - Improved validation for schedule template operations
Checksums
See SHA256SUMS file for verification.