mirror of
https://github.com/octoleo/restic.git
synced 2024-11-16 18:15:20 +00:00
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
|
$ restic -r /tmp/restic-repo init
|
||||||
```
|
```
|
||||||
|
|
||||||
The local backend will also accept the repository layout described in the
|
The local and sftp backends will also accept the repository layout described in
|
||||||
following section, so that remote repositories mounted locally e.g. via fuse
|
the following section, so that remote repositories mounted locally e.g. via
|
||||||
can be accessed.
|
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
|
Object-Storage-Based Repositories
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
@ -551,6 +551,10 @@ Then use it in the backend specification:
|
|||||||
$ restic -r sftp:restic-backup-host:/tmp/backup init
|
$ 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
|
# Create a REST server repository
|
||||||
|
|
||||||
In order to backup data to the remote server via HTTP or HTTPS protocol,
|
In order to backup data to the remote server via HTTP or HTTPS protocol,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
code {
|
code, pre {
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user