Add documentation for new options

This commit is contained in:
Alexander Neumann 2017-04-14 00:14:11 +02:00
parent a634c22ae0
commit 55bdc1fa16
3 changed files with 10 additions and 4 deletions

View File

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

View File

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

View File

@ -1,4 +1,4 @@
code {
code, pre {
font-size: 90%;
}