2
0
Эх сурвалжийг харах

Merge pull request #8259 from ThomasWaldmann/borg-mount-docs-1.4

docs: add examples using :: positional argument, fixes #8255
TW 11 сар өмнө
parent
commit
de91c79f64
1 өөрчлөгдсөн 7 нэмэгдсэн , 0 устгасан
  1. 7 0
      docs/usage/mount.rst

+ 7 - 0
docs/usage/mount.rst

@@ -41,6 +41,13 @@ Examples
     $ borg mount /path/to/repo /tmp/mymountpoint only/that/path
     $ borg mount --exclude '...' /path/to/repo /tmp/mymountpoint
 
+    # When using BORG_REPO env var, use :: as positional argument:
+    export BORG_REPO=/path/to/repo
+    # Mount the whole repo:
+    borg mount :: /tmp/mymountpoint
+    # Mount some specific archive:
+    borg mount ::root-2016-02-15 /tmp/mymountpoint
+
 
 borgfs
 ++++++