Skip to content

atime touched inside backup archive if there is no NOATIME support #6194

@ThomasWaldmann

Description

@ThomasWaldmann

master branch: https://github.com/borgbackup/borg/blob/1.2.0b4/src/borg/testsuite/archiver.py#L534

this fails on cygwin. sto.st_atime_ns is newer than expected.

maybe this has to do with borg working fd-based now, so we open the files early and then do all file ops with the fd.
if opening already touches the atime before we do the fstat(), this could be the consequence.

https://github.com/borgbackup/borg/blob/1.2.0b4/src/borg/archive.py#L1334

not super important maybe as borg 1.2 by default does not store the atime into an archive and other platforms do have NOATIME support.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions