borg/docs/internals
Thomas Waldmann 5e2de8ba67 implement files cache mode control, fixes #911
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)
2017-10-01 00:52:32 +02:00
..
compaction.png docs/data structures: add simple example compaction run 2017-05-22 13:19:18 +02:00
compaction.vsd docs/data structures: add simple example compaction run 2017-05-22 13:19:18 +02:00
data-structures.rst implement files cache mode control, fixes #911 2017-10-01 00:52:32 +02:00
encryption.png docs/data structures: add chunk layout diagram 2017-05-21 16:40:10 +02:00
encryption.vsd docs/data structures: add chunk layout diagram 2017-05-21 16:40:10 +02:00
frontends.rst document utf-8 locale requirement for json mode, #2273 (#3009) 2017-09-08 08:31:51 +02:00
object-graph.png docs: internals: edited HashIndex 2017-06-04 22:44:29 +02:00
object-graph.vsd docs: internals: edited HashIndex 2017-06-04 22:44:29 +02:00
security.rst internals: rewrite manifest & feature flags 2017-06-05 00:16:48 +02:00
structure.png docs/internals: layers image; Blimey! it's one pixel off! 2017-06-04 22:23:54 +02:00
structure.vsd docs/internals: layers image; Blimey! it's one pixel off! 2017-06-04 22:23:54 +02:00