ProxSave v0.13.6
π§± Quieter PVE ACL logging, atomic staged restores, and more reliable tests
- PVE ACL clarity + less log noise: Expanded docs around
BACKUP_PVE_ACL(users/roles/groups/ACL; domains/realms optional) and madedomains.cfgoptional so itβs not warned/counted as missing on default standalone PVE installs. - Atomic writes for staged restores: Introduced a centralized atomic write + inherited metadata utility (
fs_atomic) and switched staged-apply paths (network, PBS, PVE, firewall, HA, notifications) to write atomically while enforcing final ownership/permissions (avoids umask-related issues). Removed duplicate atomic write implementation. - Ownership/permissions inheritance improvements: Staged restores now inherit uid/gid/mode from the nearest existing parent (including repairing common
root:rootgroup regressions) with additional unit tests and updated docs. - Durability hardening:
writeFileAtomicnow fsyncs file data and fsyncs the parent directory (treating unsupported dir fsync as non-fatal). Added a safe default case in rclone discovery to skip unsupported switch branches. - Test reliability: Orchestrator tests now use isolated temp dirs via a fully populated
CheckerConfig, avoid repo lock-file reliance, and include better cleanup. Added FS operation hooks to make atomic-write tests hermetic without requiring root. - Docs/README updates: Updated RESTORE/TROUBLESHOOTING guidance for atomic/staged behavior and PBS permission recovery; refreshed README and credits; updated
.backup.lockmetadata.
Overall: cleaner PVE ACL reporting, safer staged restores via durable atomic writes with correct ownership, and a sturdier, less flaky test suite.