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