mirror of https://github.com/restic/restic.git
Add documentation for new options
This commit is contained in:
parent
a634c22ae0
commit
55bdc1fa16
|
@ -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
|
||||
---------------------------------
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
code {
|
||||
code, pre {
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue