Explorar o código

Merge pull request #5267 from fantasya-pbem/docs/5180_stdin-and-caching_master

docs: add a note to create from stdin regarding files cache, fixes #5180
TW %!s(int64=5) %!d(string=hai) anos
pai
achega
87ee4f1d80
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      src/borg/archiver.py

+ 5 - 0
src/borg/archiver.py

@@ -3175,6 +3175,11 @@ class Archiver:
         creating an archive should the command fail. The command is considered failed
         when it returned a non-zero exit code.
 
+        Reading from stdin yields just a stream of data without file metadata
+        associated with it, and the files cache is not needed at all. So it is
+        safe to disable it via ``--files-cache disabled`` and speed up backup
+        creation a bit.
+
         By default, the content read from stdin is stored in a file called 'stdin'.
         Use ``--stdin-name`` to change the name.
         """)