std::fs::File::sync_all durability guarantee for backup restoration verification
Portable durability verification after backup restore Restoring backup data requires confidence that sync_all has flushed both file content and metadata to non‑volatile storage. The standard library documents sync_all as a best‑effort operation whose exact guarantee depends on the underlying OS and filesystem. On Linux it maps to fsync(2) , on Windows to Flu