1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 16:26:29 +00:00

Merge pull request #2035 from ThomasWaldmann/docs-backup-from-stdin

borg create: document how to backup stdin, fixes #2013
This commit is contained in:
enkore 2017-01-14 00:27:18 +01:00 committed by GitHub
commit 82fd84e865

View file

@ -1311,8 +1311,12 @@ def build_parser(self, args=None, prog=None):
create_epilog = textwrap.dedent(""" create_epilog = textwrap.dedent("""
This command creates a backup archive containing all files found while recursively This command creates a backup archive containing all files found while recursively
traversing all paths specified. The archive will consume almost no disk space for traversing all paths specified. When giving '-' as path, borg will read data
files or parts of files that have already been stored in other archives. from standard input and create a file 'stdin' in the created archive from that
data.
The archive will consume almost no disk space for files or parts of files that
have already been stored in other archives.
The archive name needs to be unique. It must not end in '.checkpoint' or The archive name needs to be unique. It must not end in '.checkpoint' or
'.checkpoint.N' (with N being a number), because these names are used for '.checkpoint.N' (with N being a number), because these names are used for