summaryrefslogtreecommitdiffstats
path: root/docs/usage
diff options
context:
space:
mode:
authorThalian <github@fantasya-pbem.de>2022-05-27 13:21:50 +0200
committerThalian <github@fantasya-pbem.de>2022-05-27 15:14:01 +0200
commit2694652e37efbb8eb718f07aaccd644bcbb94751 (patch)
tree242ecb0bae02b711ad1763e268b83a490bdf6afe /docs/usage
parent371bb06dd1f354cbb1a16242c0e569a17e194f5b (diff)
#6407 - Document Borg 1.2 pattern behavior change
Backport from master: Make clear that absolute paths always go into the matcher as if they are relative (without leading slash). Adapt all examples accordingly.
Diffstat (limited to 'docs/usage')
-rw-r--r--docs/usage/create.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/usage/create.rst b/docs/usage/create.rst
index 06d2748e1..16906d7ee 100644
--- a/docs/usage/create.rst
+++ b/docs/usage/create.rst
@@ -19,7 +19,7 @@ Examples
# Backup home directories excluding image thumbnails (i.e. only
# /home/<one directory>/.thumbnails is excluded, not /home/*/*/.thumbnails etc.)
$ borg create /path/to/repo::my-files /home \
- --exclude 'sh:/home/*/.thumbnails'
+ --exclude 'sh:home/*/.thumbnails'
# Backup the root filesystem into an archive named "root-YYYY-MM-DD"
# use zlib compression (good, but slow) - default is lz4 (fast, low compression ratio)