garbage_collection: { error: 0, warning: 0, ok: 0 },
sync: { error: 0, warning: 0, ok: 0 },
verify: { error: 0, warning: 0, ok: 0 },
+ 'tape-backup': { error: 0, warning: 0, ok: 0 },
+ 'tape-restore': { error: 0, warning: 0, ok: 0 },
};
records.forEach(record => {
type = 'prune';
}
+ if (type.startsWith('tape-backup')) {
+ type = 'tape-backup';
+ }
+
if (data[type] && task.status) {
let parsed = Proxmox.Utils.parse_task_status(task.status);
data[type][parsed]++;
Ext.String.format(gettext('{0} days'), '{days}') + ')',
},
xtype: 'pbsTaskSummary',
- height: 200,
+ height: 250,
reference: 'tasksummary',
},
{
iconCls: 'fa fa-ticket',
title: 'Subscription',
- height: 200,
+ height: 250,
reference: 'subscription',
xtype: 'pbsSubscriptionInfo',
},
"garbage_collection",
"sync",
"verify",
+ "tape-backup",
+ "tape-restore",
],
typeFilterMap: {
"garbage_collection": gettext('Garbage collections'),
"sync": gettext('Syncs'),
"verify": gettext('Verify'),
+ "tape-backup": gettext('Tape Backup'),
+ "tape-restore": gettext('Tape Restore'),
},
// set true to show the onclick panel as modal grid