mirror of
https://github.com/borgbackup/borg.git
synced 2026-04-22 23:01:33 -04:00
docs: add examples using :: positional argument, fixes #8255
Simply omitting the first positional argument (REPO) does not work because borg then gets confused.
This commit is contained in:
parent
0d03986624
commit
b47ce334e8
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
++++++
|
||||
|
|
|
|||
Loading…
Reference in a new issue