tape: compute next-media-label for each tape backup job

This commit is contained in:
Dietmar Maurer
2021-08-04 09:53:54 +02:00
parent 1d3ae83359
commit efe96ec039
2 changed files with 28 additions and 3 deletions

View File

@ -127,6 +127,9 @@ pub struct TapeBackupJobStatus {
pub config: TapeBackupJobConfig,
#[serde(flatten)]
pub status: JobScheduleStatus,
/// Next tape used (best guess)
#[serde(skip_serializing_if="Option::is_none")]
pub next_media_label: Option<String>,
}
fn init() -> SectionConfig {