tape: backup media catalogs

This commit is contained in:
Dietmar Maurer
2021-03-19 06:58:02 +01:00
parent c4430a937d
commit 32b75d36a8
5 changed files with 272 additions and 12 deletions

View File

@ -101,9 +101,9 @@ impl MediaPool {
self.force_media_availability = true;
}
/// Returns the Uuid of the current media set
pub fn current_media_set(&self) -> &Uuid {
self.current_media_set.uuid()
/// Returns the the current media set
pub fn current_media_set(&self) -> &MediaSet {
&self.current_media_set
}
/// Creates a new instance using the media pool configuration