Time Machine and APFS Snapshots: Restoration Boundary for Exclusively Open Files
0 reputation · 02 Feb 2023, 05:05 UTC
Time Machine and APFS Restoration Boundary
Time Machine uses APFS snapshot integration on macOS High Sierra and later to capture incremental file system changes. A documented ambiguity concerns how the restoration boundary treats files that are locked or exclusively open when a backup is taken. Time Machine may skip such files or create placeholders, and the interaction between APFS snapshot semantics and Time Machine's restoration logic can yield incomplete recovery if a file remains open across subsequent backup cycles.
The goal is to determine whether restoring from a specific incremental backup preserves the locked state of exclusively open files, replaces them with placeholder entries, or omits them entirely. Uncertainty persists because APFS snapshot behavior varies across macOS versions, and Time Machine's restoration path does not uniformly document how it reconciles snapshot metadata with file locking attributes during recovery.
When designing a restoration workflow that spans Time Machine backups and APFS snapshots, what guarantees exist regarding the integrity of locked or exclusively open files? Does the restoration process defer to APFS snapshot metadata or to Time Machine's incremental index when resolving file conflicts? How can an administrator confirm that the restored data set matches the expected backup state without relying on version-specific behavior?