github tis24dev/proxsave v0.13.6

10 hours ago

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 made domains.cfg optional 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:root group regressions) with additional unit tests and updated docs.
  • Durability hardening: writeFileAtomic now 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.lock metadata.

Overall: cleaner PVE ACL reporting, safer staged restores via durable atomic writes with correct ownership, and a sturdier, less flaky test suite.

Changelog

Don't miss a new proxsave release

NewReleases is sending notifications on new releases.