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:
Thomas Waldmann 2024-06-30 17:28:23 +02:00
parent 0d03986624
commit b47ce334e8
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

@ -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
++++++