1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-05 06:55:53 +00:00
borg/docs/internals
Thomas Waldmann a891559578
files cache improvements, fixes #8385, fixes #5658
- changes to locally stored files cache:

  - store as files.<H(archive_name)>
  - user can manually control suffix via env var
  - if local files cache is not found, build from previous archive.
- enable rebuilding the files cache via loading the previous
  archive's metadata from the repo (better than starting with
  empty files cache and needing to read/chunk/hash all files).
  previous archive == same archive name, latest timestamp in repo.
- remove AdHocCache (not needed any more, slow)
- remove BORG_CACHE_IMPL, we only have one
- remove cache lock (this was blocking parallel backups to same
  repo from same machine/user).

Cache entries now have ctime AND mtime.

Note: TTL and age still needed for discarding removed files.
      But due to the separate files caches per series, the TTL
      was lowered to 2 (from 20).
2024-09-20 00:40:49 +02:00
..
data-structures.rst files cache improvements, fixes #8385, fixes #5658 2024-09-20 00:40:49 +02:00
encryption-aead.odg
encryption-aead.png
frontends.rst
object-graph.odg
object-graph.png
security.rst
structure.odg
structure.png