| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 | Repository URLs~~~~~~~~~~~~~~~**Local filesystem** (or locally mounted network filesystem):``/path/to/repo`` - filesystem path to repo directory, absolute path``path/to/repo`` - filesystem path to repo directory, relative pathAlso, stuff like ``~/path/to/repo`` or ``~other/path/to/repo`` works (this isexpanded by your shell).Note: you may also prepend a ``file://`` to a filesystem path to get URL style.**Remote repositories** accessed via ssh user@host:``ssh://user@host:port/path/to/repo`` - remote repo, absolute path, port can be given``user@host:/path/to/repo`` - remote repo, absolute path, deprecated syntax**Remote repositories with relative paths, URL style syntax with port**:``ssh://user@host:port/./path/to/repo`` - path relative to current directory``ssh://user@host:port/~/path/to/repo`` - path relative to user's home directory``ssh://user@host:port/~other/path/to/repo`` - path relative to other's home directory (deprecated)**Remote repositories with relative paths, deprecated SCP style syntax**:``user@host:path/to/repo`` - path relative to current directory``user@host:~/path/to/repo`` - path relative to user's home directory``user@host:~other/path/to/repo`` - path relative to other's home directoryNote: giving ``user@host:/./path/to/repo`` or ``user@host:/~/path/to/repo`` or``user@host:/~other/path/to/repo`` is also supported, but not required here.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:::    export BORG_REPO='ssh://user@host:port/path/to/repo'Then just leave away the repo URL if only a repo URL is needed and you wantto use the default - it will be read from BORG_REPO then.Use ``::`` syntax to give the repo URL when syntax requires giving a positionalargument for the repo (e.g. ``borg mount :: /mnt``).
 |