1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-23 14:41:43 +00:00

docs: add a note to create from stdin regarding files cache, fixes #5180

This commit is contained in:
Thalian 2020-07-25 20:10:29 +02:00
parent fc51522638
commit 528e507d21

View file

@ -3175,6 +3175,11 @@ def define_borg_mount(parser):
creating an archive should the command fail. The command is considered failed creating an archive should the command fail. The command is considered failed
when it returned a non-zero exit code. 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'. By default, the content read from stdin is stored in a file called 'stdin'.
Use ``--stdin-name`` to change the name. Use ``--stdin-name`` to change the name.
""") """)