]> git.proxmox.com Git - proxmox-backup.git/blame - src/backup.rs
src/backup/datastore.rs: add helper to sort backup lists
[proxmox-backup.git] / src / backup.rs
CommitLineData
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
14mod chunk_stat;
15pub use chunk_stat::*;
16
e5064ba6
DM
17mod chunker;
18pub use chunker::*;
19
20mod chunk_store;
21pub use chunk_store::*;
22
7bc1d727
WB
23mod index;
24pub use index::*;
25
e5064ba6
DM
26mod fixed_index;
27pub use fixed_index::*;
28
29mod dynamic_index;
30pub use dynamic_index::*;
31
32mod datastore;
33pub use datastore::*;