Commit Graph

4 Commits

Author SHA1 Message Date
7577a52840 tape-admin: introduce media-change
* media_change(): Update RetensionDate for last written Tape in given Pool
  new backup-job will use next free tape from this Pool

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2018-10-01 13:01:36 +02:00
e1ca526cff tape-admin: improve functionality
* show UTC in in verbose messages of function calls
  that is the format of date string in the JSON file
* date_iso_to_seconds: correct date_string
* get_mediapool_retensiondays(): new function
* add_retensiondays(): new function
* get_retensiondays(): new function
* update_mediapool_retensiondays(): new function

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2018-09-28 19:28:30 +02:00
c65ed5d4af tape-admin: improve handling while mounting correct media
* mount_tape(): verbosity messages when mounting mediapool member tapes
* adapt verbosity of ltfs mounts

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2018-09-22 21:36:05 +02:00
f105a525ae tape-admin: binary inclusion
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
2018-09-21 20:52:22 +02:00