]>
Commit | Line | Data |
---|---|---|
d78345bc DM |
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. | |
cbdd8c54 | 13 | |
7e336555 DM |
14 | mod chunk_stat; |
15 | pub use chunk_stat::*; | |
16 | ||
e5064ba6 DM |
17 | mod chunker; |
18 | pub use chunker::*; | |
19 | ||
20 | mod chunk_store; | |
21 | pub use chunk_store::*; | |
22 | ||
7bc1d727 WB |
23 | mod index; |
24 | pub use index::*; | |
25 | ||
e5064ba6 DM |
26 | mod fixed_index; |
27 | pub use fixed_index::*; | |
28 | ||
29 | mod dynamic_index; | |
30 | pub use dynamic_index::*; | |
31 | ||
32 | mod datastore; | |
33 | pub use datastore::*; |