Merge pull request #2809 from lessfoobar/patch-2

Update 080_examples.rst
This commit is contained in:
rawtaz 2020-06-26 00:12:05 +02:00 committed by GitHub
commit 6fedf1a7f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -311,13 +311,13 @@ the backups:
root@a3e580b6369d:/# useradd -m restic
Then we download and install the restic binary into the user's home
directory.
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).
.. code-block:: console
root@a3e580b6369d:/# mkdir ~restic/bin
root@a3e580b6369d:/# curl -L https://github.com/restic/restic/releases/download/v0.9.1/restic_0.9.1_linux_amd64.bz2 | bunzip2 > ~restic/bin/restic
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
Before we assign any special capability to the restic binary we
restrict its permissions so that only root and the newly created