From 9de51d04ec22cc6e85b78a553e3a2ce2270bef8e Mon Sep 17 00:00:00 2001 From: Marie-Helene Burle Date: Sun, 5 Aug 2018 02:15:17 -0700 Subject: [PATCH] minor-fixes_examples - update link to latest restic release to install restic for `restic` user - correct typo in path to this app --- doc/080_examples.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/080_examples.rst b/doc/080_examples.rst index 180ba57d8..875666d65 100644 --- a/doc/080_examples.rst +++ b/doc/080_examples.rst @@ -312,7 +312,7 @@ directory. .. code-block:: console 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 restrict its permissions so that only root and the newly created @@ -338,5 +338,5 @@ system. .. 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 /