mirror of https://github.com/borgbackup/borg.git
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
|
||
---|---|---|
.. | ||
_static | ||
_templates | ||
borg_theme/css | ||
deployment | ||
internals | ||
man | ||
misc | ||
usage | ||
Makefile | ||
authors.rst | ||
book.rst | ||
changes.rst | ||
conf.py | ||
deployment.rst | ||
development.rst | ||
faq.rst | ||
global.rst.inc | ||
index.rst | ||
installation.rst | ||
internals.rst | ||
introduction.rst | ||
man_intro.rst | ||
quickstart.rst | ||
quickstart_example.rst.inc | ||
resources.rst | ||
support.rst | ||
usage.rst | ||
usage_general.rst.inc |