From 022c1288e7a5ea983729eab92c84bab593e95edb Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Fri, 13 Jan 2017 21:49:06 +0100 Subject: [PATCH] borg create: document how to backup stdin, fixes #2013 --- borg/archiver.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/borg/archiver.py b/borg/archiver.py index 032d600c6..667a8e90b 100644 --- a/borg/archiver.py +++ b/borg/archiver.py @@ -1311,8 +1311,12 @@ def build_parser(self, args=None, prog=None): create_epilog = textwrap.dedent(""" 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 - files or parts of files that have already been stored in other archives. + traversing all paths specified. When giving '-' as path, borg will read data + 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 '.checkpoint.N' (with N being a number), because these names are used for