1
0
Fork 0
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:
Thomas Waldmann 2024-09-17 10:01:33 +02:00
parent c278a8e859
commit 82a1d38bcc
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

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