2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-28 14:40:49 +00:00

Add console hilighting to README.rst

This commit is contained in:
Alexander Neumann 2017-04-19 18:32:32 +02:00
parent 5b80cb8b6b
commit 90ba606633

View File

@ -9,7 +9,12 @@ For detailed usage and installation instructions check out the `documentation <h
Quick start Quick start
----------- -----------
Once you've `installed <https://restic.readthedocs.io/en/latest/installation.html>`__ restic, start off with creating a repository for your backups::
Once you've `installed
<https://restic.readthedocs.io/en/latest/installation.html>`__ restic, start
off with creating a repository for your backups:
.. code-block:: console
$ restic init --repo /tmp/backup $ restic init --repo /tmp/backup
enter password for new backend: enter password for new backend:
@ -18,7 +23,9 @@ Once you've `installed <https://restic.readthedocs.io/en/latest/installation.htm
Please note that knowledge of your password is required to access the repository. Please note that knowledge of your password is required to access the repository.
Losing your password means that your data is irrecoverably lost. Losing your password means that your data is irrecoverably lost.
and add some data:: and add some data:
.. code-block:: console
$ restic -r /tmp/backup backup ~/work $ restic -r /tmp/backup backup ~/work
enter password for repository: enter password for repository: