diff --git a/doc/080_examples.rst b/doc/080_examples.rst index cc3328741..5aa10be24 100644 --- a/doc/080_examples.rst +++ b/doc/080_examples.rst @@ -309,7 +309,7 @@ the backups: .. code-block:: console - root@a3e580b6369d:/# useradd -m restic + root@a3e580b6369d:/# useradd --system --create-home --shell /sbin/nologin restic Then we download and install the restic binary into the user's home directory (please adjust the URL to refer to the latest restic version). @@ -317,7 +317,7 @@ directory (please adjust the URL to refer to the latest restic version). .. code-block:: console root@a3e580b6369d:/# mkdir ~restic/bin - root@a3e580b6369d:/# curl -L https://github.com/restic/restic/releases/download/v0.9.6/restic_0.9.6_linux_amd64.bz2 | bunzip2 > ~restic/bin/restic + root@a3e580b6369d:/# curl -L https://github.com/restic/restic/releases/download/v0.12.1/restic_0.12.1_linux_amd64.bz2 | bunzip2 > ~restic/bin/restic Before we assign any special capability to the restic binary we restrict its permissions so that only root and the newly created