mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 10:58:55 +00:00
Misc design.rst cleanups
This commit is contained in:
parent
270ed00d1f
commit
0957b74887
@ -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
|
||||||
|
|
||||||
@ -459,7 +457,7 @@ Blobs of data. The SHA-256 hashes of all Blobs are saved in an ordered
|
|||||||
list which then represents the content of the file.
|
list which then represents the content of the file.
|
||||||
|
|
||||||
In order to relate these plaintext hashes to the actual location within
|
In order to relate these plaintext hashes to the actual location within
|
||||||
a Pack file , an index is used. If the index is not available, the
|
a Pack file, an index is used. If the index is not available, the
|
||||||
header of all data Blobs can be read.
|
header of all data Blobs can be read.
|
||||||
|
|
||||||
Trees and Data
|
Trees and Data
|
||||||
|
Loading…
Reference in New Issue
Block a user