-
-
Notifications
You must be signed in to change notification settings - Fork 743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
back up atime and ctime #317
Comments
iirc, you can't restore them anyway. |
On 2015-10-20 13:26:08, TW wrote:
atime can certainly be restored:
As for ctime, it's possible to "restore" it through various hacks, but
All seem a little nuts, and leaving the ctime as-is actually makes sense However, i think it could still be useful to store it, as we could |
(wtf github, why isn't markdown supported by email?) source of the ways to change the ctime: http://stackoverflow.com/questions/4537291/setting-creation-or-change-timestamps |
no, we won't change the clock or patch the kernel or change fs directly. about saving atime and ctime: yes, that seems reasonable. we just need to be careful to not change it before "reading" it. |
of course, i wasn't suggesting that. :)
i believe that was fixed in attic a while back, see jborg/attic#113 i guess the next step here is to add atime and ctime to the archive creation, and atime to extraction. |
yup. os.utime(). |
backup atime and ctime additionally to mtime, fixes #317
after reviewing this documentation i noticed that only modification times were backed up in borg/attic (source).
is that on purpose? if so, why?
it seems it would be worthwhile to also index the access time, at the very least - and ctime can be valuable during forensics as well...
The text was updated successfully, but these errors were encountered: