1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-28 02:38:43 +00:00
borg/docs/internals
Thomas Waldmann eab9f5a07b 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)

(cherry picked from commit 5e2de8ba67)
2017-10-01 01:27:18 +02:00
..
compaction.png
compaction.vsd
data-structures.rst implement files cache mode control, fixes #911 2017-10-01 01:27:18 +02:00
encryption.png
encryption.vsd
frontends.rst document utf-8 locale requirement for json mode, #2273 (#3009) 2017-09-08 21:12:46 +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