tape: split inventory api

inventory: sync, list labels with uuids,
update_inventory: WorkerTask, updates database
This commit is contained in:
Dietmar Maurer
2020-12-11 10:42:29 +01:00
parent 6dbad5b4b5
commit e92c75815b
3 changed files with 148 additions and 69 deletions

View File

@ -278,6 +278,7 @@ Ext.define('PBS.Utils', {
dircreate: [gettext('Directory Storage'), gettext('Create')],
dirremove: [gettext('Directory'), gettext('Remove')],
garbage_collection: ['Datastore', gettext('Garbage collect')],
"inventory-update": [gettext('Drive'), gettext('Inventory update')],
"label-media": [gettext('Drive'), gettext('Label media')],
logrotate: [null, gettext('Log Rotation')],
prune: (type, id) => PBS.Utils.render_datastore_worker_id(id, gettext('Prune')),