From dc5adef255ea31d37ed339ad9c93edbd0966ffe4 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sat, 30 Apr 2022 10:04:09 +0200 Subject: [PATCH] Add documentation for --repository-version --- doc/030_preparing_a_new_repo.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/030_preparing_a_new_repo.rst b/doc/030_preparing_a_new_repo.rst index d1644cf82..5fe1a86bb 100644 --- a/doc/030_preparing_a_new_repo.rst +++ b/doc/030_preparing_a_new_repo.rst @@ -35,6 +35,13 @@ options exist: * Configuring a program to be called when the password is needed via the option ``--password-command`` or the environment variable ``RESTIC_PASSWORD_COMMAND`` + + * The ``init`` command has an option called ``--repository-version`` which can + be used to explicitely set the version for the new repository. By default, + the current stable version is used. Have a look at the `design documentation + `__ for + details. + Local ***** @@ -692,4 +699,3 @@ On MSYS2, you can install ``winpty`` as follows: $ pacman -S winpty $ winpty restic -r /srv/restic-repo init -