]> git.proxmox.com Git - proxmox-backup.git/blob - src/backup.rs
simplify backup lib structure (pub use xxx:*), improve doc
[proxmox-backup.git] / src / backup.rs
1 //! This module implements the proxmox backup chunked data storage
2 //!
3 //! A chunk is simply defined as binary blob. We store them inside a
4 //! `ChunkStore`, addressed by the SHA256 digest of the binary
5 //! blob. This technology is also known as content-addressable
6 //! storage.
7 //!
8 //! We store larger files by splitting them into chunks. The resulting
9 //! SHA256 digest list is stored as separate index file. The
10 //! `DynamicIndex*` format is able to deal with dynamic chunk sizes,
11 //! whereas the `FixedIndex*` format is an optimization to store a
12 //! list of equal sized chunks.
13
14 mod chunker;
15 pub use chunker::*;
16
17 mod chunk_store;
18 pub use chunk_store::*;
19
20 mod fixed_index;
21 pub use fixed_index::*;
22
23 mod dynamic_index;
24 pub use dynamic_index::*;
25
26 mod datastore;
27 pub use datastore::*;