From 55bdc1fa16d88abe02c8d14a51f11c17e0ead01c Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Fri, 14 Apr 2017 00:14:11 +0200 Subject: [PATCH] Add documentation for new options --- doc/Design.md | 8 +++++--- doc/Manual.md | 4 ++++ doc/code.css | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/Design.md b/doc/Design.md index b2ec7db47..ff4d5176e 100644 --- a/doc/Design.md +++ b/doc/Design.md @@ -110,9 +110,11 @@ A local repository can be initialized with the `restic init` command, e.g.: $ restic -r /tmp/restic-repo init ``` -The local backend will also accept the repository layout described in the -following section, so that remote repositories mounted locally e.g. via fuse -can be accessed. +The local and sftp backends will also accept the repository layout described in +the following section, so that remote repositories mounted locally e.g. via +fuse can be accessed. The layout auto-detection can be overridden by specifying +the option `-o local.layout=default`, valid values are `default`, `cloud` and +`s3`. The option for the sftp backend is named `sftp.layout`. Object-Storage-Based Repositories --------------------------------- diff --git a/doc/Manual.md b/doc/Manual.md index bbf2e7714..2d841cf94 100644 --- a/doc/Manual.md +++ b/doc/Manual.md @@ -551,6 +551,10 @@ Then use it in the backend specification: $ restic -r sftp:restic-backup-host:/tmp/backup init ``` +Last, if you'd like to use an entirely different program to create the SFTP +connection, you can specify the command to be run with the option +`-o sftp.command="foobar"`. + # Create a REST server repository In order to backup data to the remote server via HTTP or HTTPS protocol, diff --git a/doc/code.css b/doc/code.css index 2a73b3a93..9f19a2c1d 100644 --- a/doc/code.css +++ b/doc/code.css @@ -1,4 +1,4 @@ -code { +code, pre { font-size: 90%; }