mirror of
https://github.com/restic/restic.git
synced 2025-01-23 07:48:34 +00:00
manual: Document that sftp does not expand tilde
This commit is contained in:
parent
23f1cb06d6
commit
89c2ed2a1c
1 changed files with 5 additions and 0 deletions
|
@ -146,6 +146,11 @@ You can also specify a relative (read: no slash (``/``) character at the
|
||||||
beginning) directory, in this case the dir is relative to the remote
|
beginning) directory, in this case the dir is relative to the remote
|
||||||
user's home directory.
|
user's home directory.
|
||||||
|
|
||||||
|
.. note:: Please be aware that sftp servers do not expand the tilde characte
|
||||||
|
(``~``) normally used as an alias for a user's home directory. If you
|
||||||
|
want to specify a path relative to the user's home directory, pass a
|
||||||
|
relative path to the sftp backend.
|
||||||
|
|
||||||
The backend config string does not allow specifying a port. If you need
|
The backend config string does not allow specifying a port. If you need
|
||||||
to contact an sftp server on a different port, you can create an entry
|
to contact an sftp server on a different port, you can create an entry
|
||||||
in the ``ssh`` file, usually located in your user's home directory at
|
in the ``ssh`` file, usually located in your user's home directory at
|
||||||
|
|
Loading…
Reference in a new issue