Misc design.rst cleanups

This commit is contained in:
Michael Eischer 2022-02-15 20:55:46 +01:00 committed by Alexander Neumann
parent 270ed00d1f
commit 0957b74887

View file

@ -74,19 +74,18 @@ format is contained in the section "Changes" below.
The field ``id`` holds a unique ID which consists of 32 random bytes, encoded The field ``id`` holds a unique ID which consists of 32 random bytes, encoded
in hexadecimal. This uniquely identifies the repository, regardless if it is in hexadecimal. This uniquely identifies the repository, regardless if it is
accessed via SFTP or locally. The field ``chunker_polynomial`` contains a accessed via a remote storage backend or locally. The field
parameter that is used for splitting large files into smaller chunks (see ``chunker_polynomial`` contains a parameter that is used for splitting large
below). files into smaller chunks (see below).
Repository Layout Repository Layout
----------------- -----------------
The ``local`` and ``sftp`` backends are implemented using files and The ``local`` and ``sftp`` backends are implemented using files and
directories stored in a file system. The directory layout is the same directories stored in a file system. The directory layout is the same
for both backend types. for both backend types and is also used for all other remote backends.
The basic layout of a repository stored in a ``local`` or ``sftp`` The basic layout of a repository is shown here:
backend is shown here:
:: ::
@ -112,8 +111,7 @@ backend is shown here:
│ └── 22a5af1bdc6e616f8a29579458c49627e01b32210d09adb288d1ecda7c5711ec │ └── 22a5af1bdc6e616f8a29579458c49627e01b32210d09adb288d1ecda7c5711ec
└── tmp └── tmp
A local repository can be initialized with the ``restic init`` command, A local repository can be initialized with the ``restic init`` command, e.g.:
e.g.:
.. code-block:: console .. code-block:: console