diff --git a/internal/restic/node_windows.go b/internal/restic/node_windows.go index aa0dee4b2..28ebff6ae 100644 --- a/internal/restic/node_windows.go +++ b/internal/restic/node_windows.go @@ -76,5 +76,6 @@ func (s statWin) mtim() syscall.Timespec { } func (s statWin) ctim() syscall.Timespec { - return syscall.NsecToTimespec(s.CreationTime.Nanoseconds()) + // Windows does not have the concept of a "change time" in the sense Unix uses it, so we're using the LastWriteTime here. + return syscall.NsecToTimespec(s.LastWriteTime.Nanoseconds()) }