borg extract: Date/time on folders/directories show date of extract vs. original date/times at backup - expected? #7298
-
Hi, On testing Vorta/Borg backup/restore, I've noticed that the extract process restores directories with the date of when the extract was performed vs. the original date of the directory structure. Original dates/times are preserved on files, but not folders. Is this expected behavior? (My peference is for full restore of a dir structure to reflect original dates/times when the backup occurred, hence this question.) Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
mtime should be correct. If it is not, file a bug. With atime, it is a bit tricky, it will depend on whether the OS supports/permits opening stuff without touching atime. Guess it should work on Linux as root. ctime is something borg can not influence, this is only controlled by the kernel and thus will be the current datetime. |
Beta Was this translation helpful? Give feedback.
mtime should be correct. If it is not, file a bug.
With atime, it is a bit tricky, it will depend on whether the OS supports/permits opening stuff without touching atime. Guess it should work on Linux as root.
ctime is something borg can not influence, this is only controlled by the kernel and thus will be the current datetime.