2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-23 03:18:55 +00:00

Merge pull request #3707 from duracell/patch-1

doc: fix missing "init" in rest-server example
This commit is contained in:
Alexander Neumann 2022-04-12 20:39:25 +02:00 committed by GitHub
commit edc1a24a90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,7 +167,7 @@ scheme like this:
.. code-block:: console .. code-block:: console
$ restic -r rest:http://host:8000/ $ restic -r rest:http://host:8000/ init
Depending on your REST server setup, you can use HTTPS protocol, Depending on your REST server setup, you can use HTTPS protocol,
password protection, multiple repositories or any combination of password protection, multiple repositories or any combination of
@ -176,9 +176,9 @@ are some more examples:
.. code-block:: console .. code-block:: console
$ restic -r rest:https://host:8000/ $ restic -r rest:https://host:8000/ init
$ restic -r rest:https://user:pass@host:8000/ $ restic -r rest:https://user:pass@host:8000/ init
$ restic -r rest:https://user:pass@host:8000/my_backup_repo/ $ restic -r rest:https://user:pass@host:8000/my_backup_repo/ init
If you use TLS, restic will use the system's CA certificates to verify the If you use TLS, restic will use the system's CA certificates to verify the
server certificate. When the verification fails, restic refuses to proceed and server certificate. When the verification fails, restic refuses to proceed and