Преглед изворни кода

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 пре 4 година
родитељ
комит
87ee4f1d80
1 измењених фајлова са 5 додато и 0 уклоњено
  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.
         """)