Repository navigation
local-backup v1.1.0
·
204 commits
to main
since this release
What's New
- RAID-aware scheduling: The script now checks
/proc/mdstatbefore starting and waits for any active RAID resync, check, or rebuild to finish. This prevents I/O contention between backup and RAID operations. - Idle I/O priority: The backup process now runs at idle I/O scheduling priority (
ionice -c3), yielding to other processes during I/O contention. - Concurrent run protection: Added
flock-based locking to prevent overlapping backup runs from cron. - Atomic symlink update: The
latestsymlink is now updated withln -sfninstead ofrm+ln, eliminating a window where the symlink doesn't exist.
Bug Fixes
- Fixed a crash when the
EXCLUDESarray is not defined in the config file (unbound variable undernounset). - Added
set -o pipefailto catch errors in piped commands.
Other
- Added security warning to the config file about it being sourced as Bash code.