minor-fixes_examples

- update link to latest restic release to install restic for `restic` user
- correct typo in path to this app
This commit is contained in:
Marie-Helene Burle 2018-08-05 02:15:17 -07:00 committed by GitHub
parent dc39773cd2
commit 9de51d04ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -312,7 +312,7 @@ directory.
.. code-block:: console .. code-block:: console
root@a3e580b6369d:/# mkdir ~restic/bin root@a3e580b6369d:/# mkdir ~restic/bin
root@a3e580b6369d:/# curl -L https://github.com/restic/restic/releases/download/v0.8.0/restic_0.8.0_linux_amd64.bz2 | bunzip2 > ~restic/bin/restic 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
Before we assign any special capability to the restic binary we Before we assign any special capability to the restic binary we
restrict its permissions so that only root and the newly created restrict its permissions so that only root and the newly created
@ -338,5 +338,5 @@ system.
.. code-block:: console .. code-block:: console
root@a3e580b6369d:/# sudo -u restic /opt/restic/bin/restic --exclude={/dev,/media,/mnt,/proc,/run,/sys,/tmp,/var/tmp} -r /tmp backup / root@a3e580b6369d:/# sudo -u restic /home/restic/bin/restic --exclude={/dev,/media,/mnt,/proc,/run,/sys,/tmp,/var/tmp} -r /tmp backup /