forked from proxmox-mirrors/proxmox-backup
Add a method `upload_index_chunk_info` to be used for uploading an existing index and the corresponding chunk stream. Instead of taking an input stream of raw bytes as the `upload_stream`, this takes a stream of `MergedChunkInfo` object provided by the local chunk reader of the sync jobs source. Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
49 lines
952 B
Rust
49 lines
952 B
Rust
//! Client side interface to the proxmox backup server
|
|
//!
|
|
//! This library implements the client side to access the backups
|
|
//! server using https.
|
|
|
|
pub mod catalog_shell;
|
|
pub mod pxar;
|
|
pub mod tools;
|
|
|
|
mod inject_reused_chunks;
|
|
mod merge_known_chunks;
|
|
pub use merge_known_chunks::MergedChunkInfo;
|
|
pub mod pipe_to_stream;
|
|
|
|
mod http_client;
|
|
pub use http_client::*;
|
|
|
|
mod vsock_client;
|
|
pub use vsock_client::*;
|
|
|
|
mod task_log;
|
|
pub use task_log::*;
|
|
|
|
mod backup_reader;
|
|
pub use backup_reader::*;
|
|
|
|
mod backup_writer;
|
|
pub use backup_writer::*;
|
|
|
|
mod remote_chunk_reader;
|
|
pub use remote_chunk_reader::*;
|
|
|
|
mod pxar_backup_stream;
|
|
pub use pxar_backup_stream::*;
|
|
|
|
mod backup_repo;
|
|
pub use backup_repo::*;
|
|
|
|
mod backup_specification;
|
|
pub use backup_specification::*;
|
|
|
|
mod chunk_stream;
|
|
pub use chunk_stream::{ChunkStream, FixedChunkStream, InjectionData};
|
|
|
|
mod backup_stats;
|
|
pub use backup_stats::BackupStats;
|
|
|
|
pub const PROXMOX_BACKUP_TCP_KEEPALIVE_TIME: u32 = 120;
|