mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-10 14:15:43 +00:00
docs: user@ and :port are optional in sftp and ssh URLs
This commit is contained in:
parent
c278a8e859
commit
82a1d38bcc
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ Note: you may also prepend a ``file://`` to a filesystem path to get URL style.
|
||||||
|
|
||||||
``sftp://user@host:port/path/to/repo`` - absolute path`
|
``sftp://user@host:port/path/to/repo`` - absolute path`
|
||||||
|
|
||||||
|
For ssh and sftp URLs, the ``user@`` and ``:port`` parts are optional.
|
||||||
|
|
||||||
If you frequently need the same repo URL, it is a good idea to set the
|
If you frequently need the same repo URL, it is a good idea to set the
|
||||||
``BORG_REPO`` environment variable to set a default for the repo URL:
|
``BORG_REPO`` environment variable to set a default for the repo URL:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue