mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-28 02:38:43 +00:00
eab9f5a07b
You can now control the files cache mode using this option:
--files-cache={ctime,mtime,size,inode,rechunk,disabled}*
(only some combinations are supported)
Previously, only these modes were supported:
- mtime,size,inode (default of borg < 1.1.0rc4)
- mtime,size (by using --ignore-inode)
- disabled (by using --no-files-cache)
Now, you additionally get:
- ctime alternatively to mtime (more safe), e.g.:
ctime,size,inode (this is the new default of borg >= 1.1.0rc4)
- rechunk (consider all files as changed, rechunk them)
Deprecated:
- --ignore-inodes (use modes without "inode")
- --no-files-cache (use "disabled" mode)
The tests needed some changes:
- previously, we use os.utime() to set a files mtime (atime) to specific
values, but that does not work for ctime.
- now use time.sleep() to create the "latest file" that usually does
not end up in the files cache (see FAQ)
(cherry picked from commit
|
||
---|---|---|
.. | ||
compaction.png | ||
compaction.vsd | ||
data-structures.rst | ||
encryption.png | ||
encryption.vsd | ||
frontends.rst | ||
object-graph.png | ||
object-graph.vsd | ||
security.rst | ||
structure.png | ||
structure.vsd |