2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-06 11:00:48 +00:00

doc: fix missing "init" in rest-server example

This commit is contained in:
Michael 2022-04-12 18:21:53 +02:00 committed by GitHub
parent 7f133a28b2
commit 9563e2f75c
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