2019-02-12 12:27:11 +00:00
|
|
|
//! 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.
|
2018-12-31 15:08:04 +00:00
|
|
|
|
2019-02-25 11:52:10 +00:00
|
|
|
mod chunk_stat;
|
|
|
|
pub use chunk_stat::*;
|
|
|
|
|
2019-02-12 13:13:31 +00:00
|
|
|
mod chunker;
|
|
|
|
pub use chunker::*;
|
|
|
|
|
|
|
|
mod chunk_store;
|
|
|
|
pub use chunk_store::*;
|
|
|
|
|
2019-02-27 13:32:34 +00:00
|
|
|
mod index;
|
|
|
|
pub use index::*;
|
|
|
|
|
2019-02-12 13:13:31 +00:00
|
|
|
mod fixed_index;
|
|
|
|
pub use fixed_index::*;
|
|
|
|
|
|
|
|
mod dynamic_index;
|
|
|
|
pub use dynamic_index::*;
|
|
|
|
|
2019-03-05 06:18:12 +00:00
|
|
|
mod backup_info;
|
|
|
|
pub use backup_info::*;
|
|
|
|
|
2019-02-12 13:13:31 +00:00
|
|
|
mod datastore;
|
|
|
|
pub use datastore::*;
|