From 9563e2f75c3ca194ccd745fbdb6d0b00a0153868 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 12 Apr 2022 18:21:53 +0200 Subject: [PATCH] doc: fix missing "init" in rest-server example --- doc/030_preparing_a_new_repo.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/030_preparing_a_new_repo.rst b/doc/030_preparing_a_new_repo.rst index d6fb830c6..89965005a 100644 --- a/doc/030_preparing_a_new_repo.rst +++ b/doc/030_preparing_a_new_repo.rst @@ -167,7 +167,7 @@ scheme like this: .. 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, password protection, multiple repositories or any combination of @@ -176,9 +176,9 @@ are some more examples: .. code-block:: console - $ restic -r rest:https://host:8000/ - $ restic -r rest:https://user:pass@host:8000/ - $ restic -r rest:https://user:pass@host:8000/my_backup_repo/ + $ restic -r rest:https://host:8000/ init + $ restic -r rest:https://user:pass@host:8000/ init + $ 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 server certificate. When the verification fails, restic refuses to proceed and