2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-06 19:10:49 +00:00

Merge pull request #1927 from prosoitos/minor-fixes_examples

minor-fixes_examples
This commit is contained in:
Alexander Neumann 2018-08-05 12:27:03 +02:00
commit ce7fb166b3

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 /