From cfc48d28992d7c2ff1029681568aaca32dae7d81 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 21 Sep 2017 14:00:50 +0200 Subject: [PATCH] docs: add auto compression example to borg create examples (cherry picked from commit 3f16d91fd3ff4f83d46978ce858750f1091f45fa) --- docs/usage/create.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/usage/create.rst b/docs/usage/create.rst index 6f707c985..ec49f5fa8 100644 --- a/docs/usage/create.rst +++ b/docs/usage/create.rst @@ -53,6 +53,9 @@ Examples # Even slower, even higher compression (lzma, N = 0..9) $ borg create --compression lzma,N /path/to/repo::arch ~ + # Only compress compressible data with lzma,N (N = 0..9) + $ borg create --compression auto,lzma,N /path/to/repo::arch ~ + # Use short hostname, user name and current time in archive name $ borg create /path/to/repo::{hostname}-{user}-{now} ~ # Similar, use the same datetime format as borg 1.1 will have as default