From f1874438e5c0f14702afdadad155f31384d5328d Mon Sep 17 00:00:00 2001 From: Nicco Date: Wed, 8 Jan 2020 00:46:36 +0100 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index ecc4978..ced102d 100644 --- a/README.md +++ b/README.md @@ -308,6 +308,17 @@ backends: AWS_SECRET_ACCESS_KEY: my_secret ``` +##### Example SFTP + +For SFTP to work you need to use configure your host inside of `~/.ssh/config` as password prompt is not supported. For more information on this topic please see the [official docs on the matter](https://restic.readthedocs.io/en/stable/030_preparing_a_new_repo.html#sftp). + +```yaml +backends: + name-of-backend: + type: sftp + path: my-host:/remote/path/on/the/server +``` + ## 👉 Commands * [info](#info)