]>
git.proxmox.com Git - proxmox-backup.git/blob - src/tape/mod.rs
21 /// Directory path where we stora all status information
22 pub const MEDIA_POOL_STATUS_DIR
: &str = "/var/lib/proxmox-backup/mediapool";
24 /// We limit chunk archive size, so that we can faster restore a
25 /// specific chunk (The catalog only store file numbers, so we
26 /// need to read the whole archive to restore a single chunk)
27 pub const MAX_CHUNK_ARCHIVE_SIZE
: usize = 4*1024*1024*1024; // 4GB for now
29 /// To improve performance, we need to avoid tape drive buffer flush.
30 pub const COMMIT_BLOCK_SIZE
: usize = 128*1024*1024*1024; // 128 GiB