tape: add MediaCatalog implementation

This commit is contained in:
Dietmar Maurer
2020-12-15 13:13:44 +01:00
parent a78348acbb
commit 205e187613
2 changed files with 693 additions and 0 deletions

View File

@ -1,3 +1,5 @@
//! Magnetic tape backup
use anyhow::{format_err, Error};
use proxmox::tools::fs::{
@ -34,6 +36,9 @@ pub use online_status_map::*;
mod media_pool;
pub use media_pool::*;
mod media_catalog;
pub use media_catalog::*;
/// Directory path where we store all tape status information
pub const TAPE_STATUS_DIR: &str = "/var/lib/proxmox-backup/tape";