Browse Source

docs: give examples for borg mount exclusion options

Thomas Waldmann 7 năm trước cách đây
mục cha
commit
0eaec60384
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      docs/usage/mount.rst

+ 6 - 0
docs/usage/mount.rst

@@ -36,6 +36,12 @@ Examples
     # which does not support lazy processing of archives.
     # which does not support lazy processing of archives.
     $ borg mount -o versions --glob-archives '*-my-home' --last 10 /path/to/repo /tmp/mymountpoint
     $ borg mount -o versions --glob-archives '*-my-home' --last 10 /path/to/repo /tmp/mymountpoint
 
 
+    # Exclusion options are supported.
+    # These can speed up mounting and lower memory needs significantly.
+    $ borg mount /path/to/repo /tmp/mymountpoint only/that/path
+    $ borg mount --exclude '...' /path/to/repo /tmp/mymountpoint
+
+
 borgfs
 borgfs
 ++++++
 ++++++