Restic snapshot consistency question


I’m trying to wrap my head around the level of consistency provided by restic snapshots. I can see that restic is taking a picture of the files in a given target path however when I dig into the archiver I don’t see what is being done to handle files changing during the course of the snapshot /backup job. Do the snapshots provided by restic provide point in time consistency of the file content across all the files in the job similar to what one might get from something like a VSS of zfs snapshot ?

No, the snapshot isn’t atomic. You’d need to use some filesystem feature (VSS, BTRFS snapshot, …) to achieve that level of consistency (which sounds harder than it is).

For windows there is experimental VSS support: HELP WANTED: Testing Windows VSS support