diff --git a/docs/internals.rst b/docs/internals.rst index db5408ad4..35ab0018e 100644 --- a/docs/internals.rst +++ b/docs/internals.rst @@ -26,6 +26,16 @@ To actually perform the repository-wide deduplication, a hash of each chunk is checked against the :ref:`chunks cache `, which is a hash-table of all chunks that already exist. +.. figure:: internals/structure.png + + Layers in Borg. On the very top commands are implemented, using + a data access layer provided by the Archive and Item classes. + The "key" object provides both compression and authenticated + encryption used by the data access layer. The "key" object represents + the sole trust boundary in Borg. + The lowest layer is the repository, either accessed directly + (Repository) or remotely (RemoteRepository). + .. toctree:: :caption: Contents diff --git a/docs/internals/structure.png b/docs/internals/structure.png new file mode 100644 index 000000000..e79e76c42 Binary files /dev/null and b/docs/internals/structure.png differ diff --git a/docs/internals/structure.vsd b/docs/internals/structure.vsd new file mode 100644 index 000000000..b03a4f28f Binary files /dev/null and b/docs/internals/structure.vsd differ