]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/backup.rs
src/backup.rs - improve doc
[proxmox-backup.git] / src / backup.rs
index e38cb1943b682d0854c43df27d47fafdc454c3a6..5a4a4981bb123c1a862f75697624eb10666b4337 100644 (file)
@@ -1,4 +1,15 @@
-//! This mudule implements the proxmox backup chunked data storage
+//! This module implements the proxmox backup chunked data storage
+//!
+//! A chunk is simply defined as binary blob. We store them inside a
+//! `ChunkStore`, addressed by the SHA256 digest of the binary
+//! blob. This technology is also known as content-addressable
+//! storage.
+//!
+//! We store larger files by splitting them into chunks. The resulting
+//! SHA256 digest list is stored as separate index file. The
+//! `DynamicIndex*` format is able to deal with dynamic chunk sizes,
+//! whereas the `FixedIndex*` format is an optimization to store a
+//! list of equal sized chunks.
 
 pub mod chunker;
 pub mod chunk_store;